APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

learn more… | top users | synonyms (1)

2
votes
3answers
2k views

Installing extra packages of Debian Wheezy from terminal (after a net install) [duplicate]

I've installed the small image of Debian Wheezy from here but had to skip the mirror install of the extra packages. Now that I have the command line how do I get the rest of the stuff? When I tried ...
2
votes
4answers
762 views

Mastering apt-get

I'd like to learn about apt-get so nothing bad can surprise me. I was looking for some tutorials but have found nothing that teaches it carefully including its internals. I found this article but it's ...
2
votes
2answers
4k views

apt-get install - where does it go?

Just a basic question on this utility... I did sudo apt-get install libhtmlparser-java And I would like to see the source I just downloaded. On Linux (Ubuntu) where ought I look for this?
2
votes
3answers
214 views

Configuring a package that was downloaded using apt-get

I have to reconfigure PHP with some extra options but since I downloaded it on Ubuntu using apt-get I can't seem to find the source anywhere (php -i points the source to a tmp folder which no longer ...
2
votes
4answers
465 views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
2
votes
3answers
234 views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
2
votes
2answers
95 views

change location of the “lists” and “archives” folders

apt is using two locations to store downloaded packages and other files: /var/lib/apt/lists /var/cache/apt/archives These folders can get quite big, even when using apt-get clean regularly. My ...
2
votes
2answers
529 views

apt-get install doesn't install latest version of Owncloud Client

I'm trying to install the latest version of the Owncloud Client (owncloud-client) on a raspberry Pi running Raspbian Linux. When I just enter sudo apt-get install owncloud-client, I get version 1.2 ...
2
votes
2answers
285 views

What information do I need to solve an APT dependency issue?

I've seen several times people with unmet dependencies, which apt-get doesn't tells straightforward what's the problem, like this one: The following packages have unmet dependencies: ...
2
votes
2answers
651 views

Why there is no https transport for debian apt tool?

With all paranoia that has come with NSA and everything, I'm wondering why debian package installation mechanism does not support HTTPS for its transport, let alone using it by default. I know debian ...
2
votes
2answers
2k views

Debian Squeeze apt-get update issue with HWRAID repositories

I'm running an inherited Debian Squeeze server (read: I just got this new job and the server was setup by the last guy), and I'm having an issue on the apt-get. The error at the end that comes up when ...
2
votes
1answer
242 views

apt installing more packages than specified as dependencies

I was trying to install texmaker from the repository. For installing the texlive I followed the steps described here. For this the control file I used is this. It has the file texlive-binaries in it. ...
2
votes
3answers
113 views

How to find the packages that depend on a certain package in apt?

How can I get, not the dependencies of a package, but the packages that are depending on a certain package? I'm on debian 6.0 Squeeze-LTS (the first-time extension to squeeze for long term support!) ...
2
votes
2answers
132 views

How to examine an apt repository?

I am trying to set up riak on Debian wheezy. I've followed their instructions to add the basho apt repositories... $> curl http://apt.basho.com/gpg/basho.apt.key | sudo apt-key add - $> sudo ...
2
votes
3answers
1k views

What distro for my PowerBook G4?

I've got an old PowerBook G4 with a 1333 MHz CPU and 1.25 GB RAM. What are some good distro to use? I tried Yellow Dog and Fedora (which didn't work), but I would prefer something more Debian-like, ...
2
votes
2answers
1k views

Why did 'apt-get install ffmpeg' fail?

I dont understand how or why apt-get install failed. It mentions ssmtp which is simple smtp which i use to send mail from my server to my google apps account. I dont understand what is wrong or how to ...
2
votes
1answer
515 views

apt-get without installing recommendations for a certain package

I can edit /etc/apt/apt.conf and add the line: apt::install-recommends "false"; But that will always skip recommendations. How can I do this only once for the installation to a certain package ...
2
votes
5answers
438 views

How to free space on a completely full volume?

I am using Linux. And within an uncontrolled event, my 4GB system disk is full. When I try to uninstall some program by sudo apt-get purge program-name, it gives me this error: /usr/bin/mandb: can't ...
2
votes
1answer
3k views

“404 Not Found” when updating the package list using apt-get

Trying to update my Apt-based Sytems (Ubuntu 8.04.2 LTS (hardy)), I am getting this error any recommendations? # apt-get update Err http://packages.cloudkick.com intrepid Release.gpg Could not ...
2
votes
3answers
3k views

uninstalling iceweasel with apt-get autoremove

When I try to uninstall iceweasel it wants to uninstall dependencies like 'gnome' and 'gnome-core', which of course I don't want. I tried to follow several instructions in apt-get - autoremove wants ...
2
votes
1answer
102 views

Why does apt-get remove only a few kB?

I installed nginx (sudo apt-get install nginx) and then removed it with sudo apt-get remove nginx. I to need ensure that the application is uninstalled and cannot run. (I'm still able to run service ...
2
votes
1answer
847 views

Why does Debian sometimes ask me to insert the (installation?) cd when I install packages?

I've noticed sometimes when I do apt-get Debian asks me to insert [the installation cd I used] (6.0.6 amd64 dvd1). Sometimes it doesn't, although maybe it's because I've already mounted it earlier; I ...
2
votes
3answers
10k views

How to install google chrome with apt-get?

My Linux version is Ubuntu: > cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION="Ubuntu 9.04" running as virtual machine. I did as said ...
2
votes
1answer
121 views

Get current versions of applications via apt-get

I am new to debian. What bothers me is that apt-get install shows just really old versions of everything. E. g. "Eclipse Galileo" but currently it's "Juno" and imho there was "Helios" and "Indigo" in ...
2
votes
1answer
1k views

Install MySQL from Bash Script

I'm coding a bash script to automate the process of deploying VPS servers but I'm having some trouble while trying to install MySQL from either aptitude/apt-get or yum, this is what I have so far: if ...
2
votes
2answers
1k views

What are pros/cons of dselect and apt-get?

I hardly ever hear anyone mention dselect, a deprecated package management front-end for Debian. Considering that it still exists as part of dpkg source, it must still have its uses. What are those? ...
2
votes
2answers
46 views

How will apt-get handle my manual installed software?

Suppose the Emacs version in the APT repository is 24.3, I configure && make install my own emacs 24.4. After a long time, the software in the APT repository was updated to 24.5. What would ...
2
votes
1answer
59 views

Deadlock with yes command

I have a script called setup.sh: . install.sh && . tolinux.sh && . startn.sh && . startm.sh This is install.sh: yes | sudo apt-get update yes | sudo apt-get install ...
2
votes
3answers
646 views

'ImportError: No module named _struct' error when managing packages

I'm running elementary OS 0.2 (based on Ubuntu 12.04) and starting today I'm seeing a weird error when attempting to install/upgrade packages. Just now for example I did a: sudo apt-get update ...
2
votes
2answers
21 views

Apply “upgrade” certain packages with apt

I need to update my version of OpenSSL and so I looked to implement an "upgrade", but I do not want my versions of php and apache is updated, that I can do to accomplish this?
2
votes
2answers
344 views

dpkg won't install package with dependencies that have newer version

Please someone explain to me this, because it makes no sense: $ dpkg -i freeling-3.1-quantal-x86_64.deb Selecting previously unselected package freeling. (Reading database ... 283003 files and ...
2
votes
3answers
8k views

“sudo: apt-get: command not found.” after removing some packages

Recently I executed this command: sudo apt-get remove debian-keyring debian-archive-keyring To prevent this such error message: WARNING: The following packages cannot be authenticated! openerp ...
2
votes
2answers
68 views

Debian's no more needed packages

I'm using Crunchbang Linux on my laptop. I noticed a strange behavior of the package manager: when installing a package from the official repo (libdirectfb-extra in my case) apt told me that a bunch ...
2
votes
1answer
4k views

Failed to fetch medibuntu Something wicked happened resolving (-5 - No address associated with hostname)

I'm using linux mint, and while executing apt-get install <some-package> i encounter some errors. The errors from install are: E: Encountered a section with no Package: header E: Problem with ...
2
votes
6answers
5k views

Why can't I upgrade Linux Mint 15 from Cinnamon 1.8.8 to Cinnamon 2.0, and how do I fix it?

So Cinnamon 2.0 is out, and I've followed the steps people have given for upgrading. sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable sudo apt-get update sudo apt-get dist-upgrade ...
2
votes
2answers
631 views

Unable to install any programs

I'm trying to install programs but no matter what program I try installing I get the following error. For example I downloaded skype 'skype-debian_4.2.0.11-1_i386.deb' and ran the command: $ cd ...
2
votes
1answer
152 views

Pinning and local repos

I can't quite wrap my head around pinning in Debian. I'm trying to automatically install a package first from our local project repo, then from our local stable repo and then from official Debian ...
2
votes
1answer
4k views

Are Ubuntu PPA Repositories usable on Debian wheezy?

I'm using Debian wheezy and i wonder are Ubuntu PPAs hosted at Launchpad safe to be added & used on Debian?
2
votes
2answers
171 views

What is the equivalent of apt-file in portage, if any? [duplicate]

Hunting for dependencies when compiling software from the scratch is practically unavoidable. In Debian-based Linux distributions which use the apt-get utility to manage packages, there is also a nice ...
2
votes
1answer
46 views

How can I know the dependency packages for an installed package?

Let's say I installed foo. The foo package depends on bar, so bar was installed to satisfy foo's dependency. How can I get Ubuntu/APT/dpkg to tell me that bar is installed because foo is installed? ...
2
votes
1answer
97 views

How can I forcibly remove a package from Ubuntu by hand?

I posted this on ServerFault and got some helpful-looking questions, but no answer in terms of what can I do. What, on a low level, can I do to completely exorcise a package that is jamming aptitude ...
2
votes
1answer
205 views

When I am in VirtualEnv and do apt-get install, is there any difference?

If I have a virtualenv activated when I do something like sudo apt-get install python2.7-dev should I expect different results than if I did it outside the virtual env? Limited theory says no, ...
2
votes
2answers
214 views

Automatic package is installed, but aptitude doesn't find any rdependencies. What am I doing wrong?

I have a package lm-sensors automatically installed on my Ubuntu 10.04, but can't find packages, that depend on it: $ aptitude show lm-sensors Package: lm-sensors New: yes State: installed ...
2
votes
2answers
1k views

Can I determine what changed in an upgraded package using apt or dpkg on Debian 6?

I just did an apt-get upgrade on my Debian 6 development server and noticed that a certain package named tinyproxy was upgraded. I have a particular interest in seeing precisely what changed in that ...
2
votes
2answers
482 views

Is there a way to make apt report which packages in a dist-upgrade will use additional disk space?

I recently decided it was time to do the ol' dist-upgrade. Since I don't upgrade often, I got this message: deus@machina:~/$ sudo apt-get dist-upgrade Reading package lists... Done Building ...
2
votes
2answers
266 views

Is there a way to specify a name for “/etc/apt/sources.list” file?

Can the location for APT sources, named /etc/apt/sources.list, be named differently (e.g. /foo/my-renamed-apt-sources-file"), without breaking APT (i.e. via some configuration)?
2
votes
1answer
466 views

Upgrading ffmpeg

How can I upgrade ffmpeg to version 0.6 on debian-based operating system? I'm using apt-get for installation and deb packages.
2
votes
1answer
404 views

Why does 'apt-get install' suggest packages that I already have?

On Ubuntu Desktop 10.04.1, I have just run apt-get install to install a package. Amongst the list of suggested packages is ssh. I'm confused, because I am sure that I already have ssh installed: # ...
2
votes
2answers
57 views

Format terminal output to show apt-get upgrade errors in RED

I have a very simple bash script written for my Kali Linux distro so I don't have to run apt-get update, apt-get upgrade, apt-get dist-upgrade, apt-get autoclean, and apt-get autoremove every time I ...
2
votes
1answer
32 views

/etc/apt/sources.list won't accept URLs with https connection

In Debian Wheezy, my /etc/apt/sources.list file looks like this: deb https://mirrors.kernel.org/debian/ wheezy main contrib non-free deb-src https://mirrors.kernel.org/debian/ wheezy main contrib ...