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

learn more… | top users | synonyms (1)

2
votes
2answers
984 views

debian apt-get dist-upgrade from squeeze to wheezy failing on vlc

I can't continue until I solve this bug, I've tried removing the dpkg so it redownloads it but it still has this error when trying to dist-upgrade, or now, apt-get -f install. root@hayek:~# apt-get ...
5
votes
1answer
1k views

Command & binary exists but cannot be executed

I transfered /etc/* files from one Linux server to another and now I have a strange error. Both are Debian Squeeze. When I run a command, e.g. ssh, I get an error: bash: /usr/bin/ssh: No such file ...
2
votes
2answers
243 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 ...
6
votes
1answer
2k views

apt-get -f install is stuck on “corrupted filesystem tarfile”

I am having issues with apt-get on my Raspberry Pi. This is the output when I try and install a package: pi@raspberrypi ~ $ sudo apt-get -f install cowsay Reading package lists... Done Building ...
1
vote
1answer
110 views

Why is this OR dependency not working as I expected

I tried to remove python2.6 from my Debian system: $ sudo apt-get purge python2.6 Reading package lists... Done Building dependency tree Reading state information... Done The following ...
1
vote
1answer
3k views

How to install LXDM instead of GDM3?

I'm running Debian Wheezy and my default Display Manager is GDM3, and I would like to replace it with LXDM. The problem is that I'm trying to run # apt-get install lxde and it's not working, what am I ...
8
votes
1answer
2k views

disable apt-listchanges (and other interactive stuff) during upgrades (reliably)

I have to admit, I really really hate apt-listchanges. If I'm going to do a huge dist-upgrade, I want to just leave the computer there for a few hours. The asker of this serverfault question had a ...
0
votes
2answers
2k views

Related to apt-get update command

I am using Ubuntu12.04 and I installed lots of pkg. I want to update only one specific pkg. I tried using $apt-get update pkgname E: The update command takes no arguments so then I tried ...
3
votes
0answers
32 views

Find packages not maintained in main repo? [duplicate]

Possible Duplicate: listing packages in Debian, a la dpkg -l, but including the package origin/source E.g. Ubuntu Server offers only security updates for software contained in the main ...
1
vote
4answers
91 views

Is really need Internet connection after installed all pkgs?

I know when you want to Install any new pkg then internet connection is required .right now I am using Ubuntu 12.04 I have Internet connection. using following command I installed one pkg.(e.g vlc ...
4
votes
1answer
1k views

Can I upgrade to a new version of Python on an old version of Ubuntu?

I have Ubuntu 8.04.3 LTS and ran this: $ sudo apt-get install python2.7 I got this: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find ...
1
vote
2answers
947 views

Remove all packages in a text file via apt-get

I have a text file with a package on each line. How can I remove all the packages in that text file from the system? Also, if one package cannot be removes/wasn't installed in the first place can I ...
5
votes
1answer
13k views

Not able to lock /var/lib/dpkg/lock (read only)

I was trying to install ruby on my remote server(this is a vm machine(debian) in a esxi server . ) I got this error: The Command: sudo apt-get install ruby1.8 Error : W: Not using locking for read ...
7
votes
1answer
3k views

How to safely resume an aptitude dist-upgrade after SSH timeout?

I started aptitude dist-upgrade over SSH on my local network. At some point the session timed out but the upgrade was not finished (it was left at one of those accept software agreement screens-- I ...
0
votes
2answers
117 views

Disable changelogs

I'm using Synaptic (and occasionally aptitude via ssh) under Debian. When upgrading packages, there is the extremely annoying behavior of scanning changelogs, which can take a minute or two when ...
4
votes
3answers
2k 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 ...
1
vote
4answers
9k views

The command to upgrade to a new kernel from Ubuntu repositories

In the distro I'm most familiar with -- ALTLinux, a command like apt-get install kernel-image-std-def#3.0.... would install another kernel, and update the initramfs and the bootloader config ...
0
votes
1answer
2k views

Can't upgrade VirtualBox in Mint 12

I'm running Linux Mint 12 x64 and can't get the latest virtualbox-4.1 update through apt. I have the following line in my /etc/apt/sources.list: deb http://download.virtualbox.org/virtualbox/debian ...
4
votes
1answer
99 views

Installed using apt-get, then ran out of storage

I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck. When I attempt to remove any packages I get the following error: E: dpkg was ...
7
votes
2answers
146 views

Removed apt-get from Ubuntu

Well my fingers did manage to do sudo apt-get remove libstdc++6 and write, yes. That removed alot of system files. Is there any way to bring it up working again? I have connected to terminal, and wget ...
36
votes
4answers
94k views

How to add repository from shell in Debian?

In Ubuntu one can add a repository to apt-get via the following command - sudo add-apt-repository ppa:yannubuntu/boot-repair As Ubuntu is based on Debian code base, I was expecting that the same ...
5
votes
2answers
5k views

How do I fix broken libxml2-dev dependency on Debian using apt?

When I run sudo apt-get upgrade on my Debian Squeeze install, I get the following error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: ...
2
votes
2answers
573 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 ...
1
vote
2answers
726 views

uwsgi install in Debian 6 (Squeeze) wants to upgrade libc6 and initscripts

I'd like to install uwsgi on my Debian server. This package wants to upgrade some core packages: libc6 from 2.11.3-3 (now, stable) -> 2.13-35 initscripts from 2.88dsf-13.1+squeeze1 (now, stable) -> ...
3
votes
3answers
624 views

Trouble migrating from Yum to apt-get

I recently migrated from using Fedora to Debian. And I'm having some issues with the package manager. I used to be able to search for packages via yum using : yum search ...
3
votes
2answers
684 views

How to select packages start with “mate-” but not end with “-dev”?

I want to install all MATE packages, $ sudo apt-get install '^mate' However, it selects too many packages, and some packages are conflicted with some installed ones. Now, I want to exclude them. ...
7
votes
4answers
1k views

Managing unofficial repositories on a Debian system

A few years ago I added this repository to my sources.list: http://www.deb-multimedia.org/ because it contained packages like acroread or flash player, which were either missing or out of date in ...
1
vote
0answers
414 views

Mono spits out too many errors after update, try to reinstall, more errors

I had errors with apt-get update && apt-get dist-upgrade, from mono mono, so I tried this instead: sudo apt-get install --reinstall banshee banshee-extension-soundmenu ...
0
votes
4answers
6k views

Cannot install openssh-server

root@abacus-desktop:~# apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done You might want to run `apt-get -f install' to correct ...
14
votes
2answers
575 views

Why do package names contain version numbers?

While working with Ubuntu and other Debian-based distros, I've noticed that packages in the software repos often contain the major version number. For example, Apache: apache2 Tomcat: tomcat7 PHP: ...
6
votes
1answer
105 views

How did this bogus entry sneak into my apt sources?

A while ago, I decided to try dropbox. Since I could apt-get it, I thought it was free software. However, I quickly discovered that the apt-get command only downloaded a downloader for dropbox ...
2
votes
1answer
763 views

git tab-completion does not work on Debian Wheezy but works on Squeeze

My question is about git command tab-completion, i.e. when I type git stat and hit Tab, it completes the command line to git status. (Where applicable, this also works with remote names and branch ...
4
votes
1answer
1k views

How does apt-get deal with multiple sources?

Let's say Ubuntu's repositories features a package. I install that package using apt-get. I then add an additional source (with add-apt-repository) that lists either a newer or older version of the ...
5
votes
3answers
2k views

Reset dselect selection before package installation

I was looking through the list of packages with dselect, but pressed Return twice by mistake, thereby making it confirm and quit the [S]elect option. When I go to the [I]nstall option, it's now ...
2
votes
3answers
286 views

Scan and get the packages installed on Ubuntu along with the version

Is there any Python code to get the list of packages installed on Ubuntu along with the version of the package? I have seen Python code at Generating list of manually installed packages and querying ...
5
votes
2answers
4k views

I cannot install new packages: “Could not get lock /var/lib/dpkg/lock”

I am new to Linux (installed Ubuntu for the first time yesterday), and have never dealt with any unix-based OS. I started using Linux for the sole purpose of collaborating code with my partners via ...
4
votes
1answer
2k views

Aptitude on Debian 6.0.4 “media change” to CD ROM

I've just installed Debian 6.0.4 on VirtualBox, and I'm trying to install g++. So, into the terminal I typed: aptitude install build-essential But it's trying to get the package from disk: Media ...
4
votes
4answers
916 views

What package managers do popular Unix Distributions Use? [closed]

I am creating a Script and I need to know what package manager each Popular Unix Distribution Uses (especially those distros that are commonly-used for Servers)... I mean: Debian uses apt-get Fedora ...
2
votes
2answers
364 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)?
1
vote
1answer
266 views

Getting the source for something that doesn't seem to have an associated package?

I recently just wanted to look at the source code for sha1sum. alec@ROOROO:~/tmp-source-study$ apt-get source sha1sum Reading package lists... Done Building dependency tree Reading state ...
19
votes
6answers
4k views

Which installed software packages use the most disk space on Debian?

Disk space on my root partition is running low, so I want to delete some applications from the system. How can I see which software packages use the most disk space? Is it possible to view that from ...
1
vote
1answer
2k views

How to install a Debian package from internet?

I am trying to install Debian kernel sources using the following commands - sudo apt-get install linux-headers-$(uname -r) It prompts me to insert the Debian disk to continue the installation. ...
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?
14
votes
5answers
7k views

How to see package version without install?

I want to see the version of a package before I install it. How can I do this?
1
vote
1answer
214 views

How to purge package in debian without affecting other packages?

I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5). So now I have 2 mysql-server packages removed, but not ...
20
votes
3answers
8k views

What does “The following packages have been kept back” mean?

When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example: $ sudo apt-get upgrade ...
5
votes
2answers
4k views

How do I install mod_pagespeed using apt-get?

I remember seeing an article at one time on how to do this, but now I can't find it. I have seen other install directions. I want to make sure I can easily update it via apt.
0
votes
1answer
367 views

pattern to install dependencies in linux

Different OSes have different standard way of installing package dependencies; in OS X, all library dependencies are copied in the App folder. Windows application developers have both options; they ...
5
votes
2answers
839 views

Does “apt-get purge” remove config files stored in user home dir?

I used sudo apt-get purge [package_name] and sudo apt-get autoremove --purge to remove an application so that on reinstalling it gets back to default configuration. But it didn't work, all ...
1
vote
0answers
401 views

Resolving unmet installation dependencies; file system problems

Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...