Questions tagged [apt]

For questions about the use, design, function etc. of APT (Advanced Packaging Tool), the standard software package management system for Debian and its derivatives.

Filter by
Sorted by
Tagged with
132 votes
12 answers
124k views

List packages on an apt based system by installation date

How can I list installed packages by installation date? I need to do this on debian/ubuntu. Answers for other distributions would be nice as well. I installed a lot of stuff to compile a certain ...
0 votes
1 answer
828 views

Can't install uwsgi on ubuntu

root@ip-10-194-97-94:~# apt-get install uwsgi Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that ...
's user avatar
0 votes
1 answer
366 views

Error installing gmrun via apt-get

$ sudo apt-get install gmrun Reading package lists... Done Building dependency tree Reading state information... Done gmrun is already the newest version. 0 upgraded, 0 newly installed, 0 to ...
  • 29.6k
1 vote
1 answer
2k views

Where can I find which packages are on each Debian Squeeze CD?

I just installed Debian Squeeze on my E1505. In order to get my wireless card working, I'm trying to install network-manager-gnome (I already installed firmware-iwlwifi) My current question is, how ...
5 votes
1 answer
2k views

listing packages in Debian, a la `dpkg -l`, but including the package origin/source

I want to list all packages of the form $ dpkg -l libav\* but in addition to this output, I would like the origin/source (I'm not sure of the preferred term) of each package. If the package doesn't ...
  • 33.7k
9 votes
4 answers
5k views

Differences in package management between Debian and Arch

A discussion from this post made me curious of differences between Debian and Arch package management. Also, people tend to say that Arch is very light-weight, so I wonder what that has to do with ...
  • 62.1k
270 votes
8 answers
198k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
  • 29.3k
2 votes
3 answers
2k views

Unmet dependencies [closed]

I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package. INFO I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2 Vim7.3 ...
  • 129
0 votes
2 answers
2k views

Is there a Debian security APT repository that allows access via ftp?

If I want security updates for Debian, I add the following line to /etc/apt/sources.list: deb http://security.debian.org <codename>/updates main Is there a repository that allows the http to ...
  • 62.1k
4 votes
2 answers
4k views

How often does Debian update its Stable repository?

Ever since release day (early Feb 2011), I haven't got any updates (apt-get update && apt-get upgrade). I've tried another repository (ftp://ftp.de.debian.org/debian), and it's the same thing. ...
  • 62.1k
4 votes
1 answer
6k views

How to add an iso file as APT source

Say I have this line in "/etc/fstab": /iso/apt.iso /mnt/apt iso9660 loop 0 0 And I run these commands as root: mount --all apt-cdrom add --no-mount --cdrom /mnt/apt I expected the disk to be added ...
  • 62.1k
2 votes
2 answers
4k views

Fixing debian installer

I have a VPS with Debian GNU/Linux on it. I'm trying to install a PHP file manager so that people could access it and download stuff into a directory. I don't have anything in my /bin about PHP so ...
  • 323
53 votes
5 answers
184k views

What is Fedora's equivalent of 'apt-get purge'?

In Debian, there's at least two ways to delete a package: apt-get remove pkgname apt-get purge pkgname The first preserves system-wide config files (i.e. those found in "/etc"), while the second ...
  • 62.1k
20 votes
1 answer
41k views

How to install some packages from "unstable" Debian on a computer running "stable" Debian?

On a computer running "stable" Debian, when trying to install a package which is in the unstable list on the Debian web site using the aptitude install <package>/unstable command, I get output ...
  • 413
1 vote
2 answers
270 views

Odd problem regarding 'apt-get update'

I was having some serious network troubles, and now running sudo apt-get update gives this error: ... Hit ftp://ftp.is.co.za experimental/contrib i386 Packages Reading package lists... Error! E: ...
  • 62.1k
2 votes
2 answers
6k views

How to set default APT source

Running cat /etc/apt/apt.conf gives: APT::Default-Release "stable"; I thought doing that would disallow the command apt-get install wajig to work, if a newer version was available anywhere but ...
  • 62.1k
2 votes
1 answer
107 views

Where is the setting that sets Experimental repo to lower priority?

Suppose that I have enabled Experimental in my "/etc/apt/sources.list". When I need to install anything from it, I have to explicitly specify on the command: apt-get install wajig # vs apt-get --...
  • 62.1k
2 votes
2 answers
2k views

Why did 'apt-get install ffmpeg' fail?

I don't 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 don't understand what is wrong or how ...
's user avatar
4 votes
3 answers
545 views

Strange messages on (un)installation

A lot of times when I (un)install packages, I get strange warning messages. Here's a snippet: Processing triggers for libglib2.0-0 ... Processing triggers for man-db ... Processing triggers for ...
  • 62.1k
2 votes
1 answer
3k 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,839
5 votes
3 answers
2k views

How to list currently not installed packages?

I'd like to output a list of all, currently not installed, packages (they are visible in Synaptic for example) using only shell commands. How do I do this?
's user avatar
528 votes
7 answers
789k views

How do I check package version using apt-get / aptitude?

Before I install a package, I'd like to know what version I would get. How do I check the version before installing using apt-get or aptitude on Debian or Ubuntu?
's user avatar
143 votes
4 answers
146k views

What is yum equivalent of 'apt-get update'?

Debian's apt-get update fetches and updates the package index. Because I'm used to this way of doing things, I was surprised to find that yum update does all that and upgrades the system. This made ...
  • 62.1k
0 votes
1 answer
586 views

I can't use or find the google debian unstable/sid repository

I'm trying to use the debian unstable/sid branch of the google repositories: deb http://dl.google.com/linux/deb/ unstable non-free main, but I get errors: Err "http://dl.google.com" unstable/...
's user avatar
4 votes
4 answers
3k 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? ...
  • 62.1k
6 votes
1 answer
1k views

How to control the list of locales which are generated by APT?

Each time I install or operate in other means l10n-related packages, the APT system "rebuilds" a lot of English locales, which takes considerable time. Look at the APT log: Configuring language-pack-...
  • 920
3 votes
1 answer
647 views

jetty repositories for Debian lenny 5.0?

This is my current sources.list, and I wish to install libjetty-java, libjetty-extra-java, and jetty, in that order. However, the packages are not found, and I resorted to downlaoding the debs from ...
  • 1,033
6 votes
2 answers
963 views

What's up with this 'gnome' package?

I have recently grown tired of the way Rhythmbox starts up every time I plug in my MP3 player. I know I could simply disable this, but I've decided to uninstall Rhythmbox instead. It's such a memory-...
10 votes
1 answer
10k views

apt-get doesn't stop on Ctrl-c, what to do?

Occasionally I have connection problem with apt-get (typically because I use it behind a proxy and try to install/upgrade flash). I have been trying sending Ctrlc but it would not stop. I thought it ...
  • 19.7k
17 votes
6 answers
4k views

Why does xargs cause apt-get to abort?

I'm trying to remove a list of packages from a file. I'm using the following command: cat packages | xargs sudo apt-get remove packages is my file containing a list of packages I want to remove. ...
  • 271
5 votes
1 answer
150 views

apt-get - How to complain on failed upgrade?

I'm trying to write a script to upgrade a bunch of remote machines and would like to verify that one package in particular is upgraded. With yum, I could say yum upgrade specific-package, and it ...
4 votes
2 answers
850 views

upgrade xdebug without using apt?

I'm running debian 5.0.6 and have installed xdebug 2.0.3 via aptitude. Now I want to install PHPUnit, and when trying to do it through pear, I get the error that PHPUnit wants a more recent xdebug ...
  • 13.6k
1 vote
1 answer
909 views

How to unpack libc6 source on Hardy using debian/rules?

How do I unpack the libc6 source code on Hardy without building everything? I run apt-get source libc6 and I get $ ls -1d glibc-2.7/* glibc-2.7/debian glibc-2.7/glibc-2.7.tar.bz2 glibc-2.7/glibc-...
's user avatar
3 votes
3 answers
326 views

What is the preferred way to install new versions of software?

I have installed Ubuntu Server 10.10 and now I want to install some software like PostgreSQL, Nginx and PHP. But what is the preferred way to get the latest stable version of the software? E.g I ...
  • 1,593
3 votes
3 answers
297 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 ...
  • 3,763
93 votes
10 answers
157k views

How to work around "Release file expired" problem on a local mirror

I have a local mirror (created with debmirror), and when I run apt-get update after a few days, I get this: E: Release file expired, ignoring file:/home/wena/.repo_bin/dists/sid/Release (invalid ...
  • 62.1k
274 votes
10 answers
122k views

What is the real difference between "apt-get" and "aptitude"? (How about "wajig"?)

I know that both apt-get and aptitude are command line package management interfaces on Debian derived Linux, with different options, but I'm still somewhat confused. Under the hood, aren't they ...
  • 3,684
0 votes
0 answers
528 views

apt-get or aptitude [duplicate]

Possible Duplicate: What is the real difference between “apt-get” and “aptitude”? (How about “wajig”?) I'm new in Linux (Ubuntu) world. When I need to install ...
  • 101
18 votes
2 answers
4k views

Is it possible to simulate installation of Debian packages, and still marking them as installed?

Here's what I would like: Start with a virtual system, with no installed packages. Then I invoke a tool, similar to apt-get to ask it to compute the dependencies and mark all the packages that ...
  • 281

1
57 58 59 60
61