This a command-line program for handling packages on linux.

learn more… | top users | synonyms

1
vote
3answers
1k views

Apt / Deb Support in Fedora

I want to have some apt / debian support in Fedora 18. I know how to use yum, and I like it. But not all packages / repositories are available for it. So, I wanna install apt (apt-get) to my Fedora. ...
1
vote
0answers
405 views

How can I skip the root password prompt when installing mysql-server?

I am writing a bash script that involves installing the mysql-server package on Ubuntu. The package interactively asks the user for the root MySQL password desired, however this is not good for me as ...
0
votes
2answers
947 views

Issue with plesk installation in Ubuntu - apt packages error

OS: Ubuntu 12.04 Plesk 11 Hi all, I have a problem during installation of plesk when plesk wants to install more packages from apt. 385 packages need to be installed. 49 packages need to be ...
3
votes
1answer
347 views

Debian - package is installed already but apt says “depends: x but it is not going to be installed”

I don't have a lot of experience with debian. I am troubleshooting a friend's debian squeeze setup who probably pasted both squeeze and wheezy sources in his sources.list. Since then I have corrected ...
2
votes
1answer
2k views

Can I get dpkg to ignore an error returned from a post-installation script?

I am manually installing a .deb file (which I don't maintain) onto my Ubuntu system. The package has a post-installation script which erroneously fails, and therefore the package is considered ...
1
vote
1answer
532 views

updating to PHP 5.3 on Debian 5.0 (lenny)

I need to update PHP on a rackspace server, currently the server use PHP 2.6, i followed these instructions, i added to lines to /etc/apt/sources.list deb http://php53.dotdeb.org stable all ...
2
votes
1answer
2k views

How to revert to older version of libc6 in Ubuntu?

I installed valgrind which replaced libc6 on my Ubuntu 12.04 system with a sligthly different version, which broke an application on my system. Can I somehow revert to the Ubuntu 5.1 version? If so, ...
2
votes
1answer
82 views

Mirror apt repository that uses .bz2 files

I'm currently trying to set up a mirror for several apt-repositories that use Packages.bz2 files instead of regular gzip. Unfortunately, apt-mirror on Ubuntu always tries to fetch Packages.gz files ...
1
vote
0answers
233 views

Ubuntu - not able to fix broken package

I'm trying to install Skype on Ubuntu 12, x64. but it is not working. When I try to fix the broken packages I'm getting the following errors: $ sudo apt-get -f install Reading package lists... Done ...
1
vote
1answer
416 views

Why would apt install an i386 dependency for an amd64 package?

I have a Compaq laptop with an Intel T2370 CPU, which is 64-bit. Most of my applications are installed from the amd64 packages. I installed WINE1.4 yesterday using Software Manager in Linux Mint 13 ...
1
vote
2answers
3k views

W: Failed to fetch 403 Forbidden error when running the command apt-get update

I was handed a laptop from a user who had been travelling in the Oceania region and attempted to run the command apt-get update however was returned the message W: Failed to fetch ...
0
votes
1answer
159 views

apt pinning when two packages have very similar version numbers

I have a precise installation, but I am also getting packages from quantal and raring. My problem is with the linux-image-* packages. I want to run the 3.5 kernel, and to keep track of the latest ...
0
votes
1answer
188 views

Can I safely apt get remove a kernel that I apt-get-install'ed?

I installed a pae kernel on my Ubuntu 12.04 32-bit box in order to try it (I thought I would add RAM to my computer which I finaly didn't). It automatically added an entry to grub's boot menu with ...
1
vote
2answers
663 views

Ignore packages that are not currently installed when using “apt-get remove”

I have a scenario where I'd like to remove a set of packages that may or may not be installed, and I'd like apt-get to remove those that are and silently ignore those that aren't. Something like: ...
1
vote
1answer
176 views

Linux force scripted add-apt-repository

I have a script that adds a repository with add-apt-repository <repo-info> Is there a way to not prompt the user (such as with a -y flag, though that doesn't seem to work on Ubuntu 10.10)
4
votes
1answer
197 views

Automatic update of debian

I have a parc of identical debian wheezy machines. They are competely identical hardware & software except the IP address and some VPN keys. I want to update these machines completely ...
2
votes
2answers
3k views

How to download and install specific version of sun-java6-jdk on ubuntu

I am using Ubuntu version 12.04 (via VM) I downloaded and installed java: sudo apt-get install python-software-properties sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" ...
0
votes
1answer
262 views

how to prevent local user from rebooting/shutting down when i'm ssh'd in?

I am currently remotely upgrading a friend's computer with aptitude through SSH. I have bad memories of unstable systems when they are rebooted/shut down during an upgrade process, so I'd like to ...
1
vote
1answer
2k views

Dependencies problems installing openjdk on Ubuntu

I try to install openjdk-7-jre: sudo apt-get install openjdk-7-jre But I have dependencies problems: Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
956 views

APT unable to locate sun-java5-jdk

I have following Ubuntu: Ubuntu 12.04.1 LTS With following apt installed: apt 0.8.16~exp12ubuntu10.2 for i386 compiled on Jun 15 2012 14:41:15 This is content of sources.list: deb ...
1
vote
1answer
118 views

What mean “precise” in apt sources.list entry

I really tried to find in internet the answer but only thing that I found is that it determine architecture... But it not seems logical. So what "precise" mean in follow line? deb ...
0
votes
1answer
139 views

Want to install FlightGear but 'libapr1' dependency cannot be satisfied

When I want to install the flightgear:amd64 package, it requests to install the simgear2.8.0:amd64 package onto my Linux Mint 13 KDE 64-bit system. But I cannot install simgear2.8.0:amd64 because I ...
3
votes
2answers
204 views

Is it possible to determine how a package was installed on debian?

Is there a way to find out how a package was installed on Debian? I.e. see if it was manually installed or which package pulled it as a dependency. This information should be available somewhere ...
6
votes
2answers
809 views

How can I create an alias for apt-get?

I remember that on one Debian system, I used apt install package to install a package. It asked for a password afterwards and was more convenient than sudo apt-get install. Now I am not sure how I ...
1
vote
1answer
137 views

How to install a package without marking it as manually installed?

How can I install a debian package but make apt consider it automatically installed? I.e. if I later run apt-get autoremove, this package would be uninstalled.
0
votes
1answer
1k views

downgrading packages in debian

I have Debian stable disribution installed on my computer. Once I installed some packages from testing but now it causes some troubles so I would like to downgrade them. I've tried next commands: ...
1
vote
0answers
25 views

Searching for packages that are (not) from a certain repository URL

I basically want to do the same thing, as asked for here, which is searching for packages that a re not from a certain repository. Just like this: aptitude search "?installed?not(?origin(Debian))" ...
0
votes
1answer
315 views

Apt error during Ubuntu Server (Hardy) install

I'm installing Ubuntu server 8.04 (hardy) on a machine. Te installation process goes well until the part of package installation. The machine is behind a proxy. I configure the proxy correctly and ...
3
votes
1answer
823 views

What is the difference between apt-get install php-apc & pecl install apc?

Wanted to setup APC php cache to a fresh 12.04 precise ubuntu box. Do apt-get install php-apctotally replace apt-get -y install libpcre3-dev; sudo pecl install apc? If not what are the differences?
0
votes
1answer
124 views

apt-mirror for Ubuntu 9.10 Karmic Koala

I want to backup a full mirror of old-releases Ubuntu because I need Karmic packages for my software. I'm also afraid that old-releases.ubuntu will be deleted. Is there any possibility to get a full ...
0
votes
1answer
826 views

How to reduce 3rd party repository priority in apt

I'm using Debian Testing together with the Deb Multimedia (previously Debian Multimedia) repository for testing. I want to reduce the priority of the deb-multimedia packages so it only installs ...
1
vote
0answers
291 views

How to use apt-cache server in ubuntu 12.04?

I have tried this Apt-cache server on ubuntu 10.10, and it worked. But, now i'm using ubuntu 12.04 and all tutorial inside that page not working for me : Ign http://136.198.117.4 precise/main ...
3
votes
2answers
469 views

How do you get rid of the quote of the day / fortune messeges each time you open a new console?

I have an ubuntu computer. Each time I open the console there is some animal in ascii art and a quote. How can I uninstall this and get a normal command line? All accounts have this, so it is ...
5
votes
3answers
4k views

Test if a package is installed in APT

I want a shell script method to test/report if a package is installed. I don't need details, only boolean return to set logic flow. I looked at Find if a package is installed, but dpkg returns complex ...
0
votes
1answer
2k views

Debian: I want to install “libasound2” and “libasound2-plugins” from “wheezy” while being on “squeeze”

UPDATE: I am putting a bounty on this question, in modified form: How can I make APT Pinning run as expected? Or where must I read more (save from the official Wiki and errata/additions in it) so ...
2
votes
1answer
296 views

how to copy a linux mint apt mirror

I have a linux mint install that will be placed on a private network without internet access. Is it possible to download an Apt mirror for Mint and place in on a server in the private network so that ...
0
votes
2answers
3k views

How can I complete remove gnome and all of its subprograms?

I have Kubuntu 12.04. And I had installed gnome with sudo apt-get install gnome. How can I complete remove this? Looks like just put a sudo apt-get purge gnome will not solve the case. Because will ...
6
votes
2answers
3k views

How to tell apt that dependencies are resolved manually?

Let's say there is a software I don't want to install through apt, but manually. (TeXLive, because I want to use the 2011 release and apt only has the 2009 version.) Let's say there is another ...
1
vote
3answers
6k views

Installing cURL on Ubuntu

Am trying to install cURL on my ubuntu server using the command sudo apt-get install php5-curl However i get the following error Reading package lists... Done Building dependency tree Reading ...
1
vote
1answer
451 views

E: The package tzdata needs to be reinstalled, but I can't find an archive for it

I need to re-install this to upgrade 11.04 Ubuntu to 11.10 I keep getting an error when I try: sudo apt-get install tzdata E: The package tzdata needs to be reinstalled, but I can't find an ...
0
votes
2answers
1k views

How do I make AptonCD restore packages present on ISO on local disk

I used APtonCD to create a ISO image of packages I have installed on my install. I'm trying to restore the image, but it seems to look for the restore image present in my default drive. How do I get ...
67
votes
5answers
30k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
27
votes
2answers
20k views

How can I check the version of packages to be installed with apt-get?

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be ...