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

learn more… | top users | synonyms (1)

1
vote
2answers
1k views

Debian - install missing man pages?

I run RaspBMC - a distro based on Raspbian, that's a custom minimal Debian for the Raspberry Pi. If I recall correctly, the man utility is NOT installed by default with RaspBMC (although I may be ...
7
votes
2answers
6k views

Can I rollback an apt-get upgrade if something goes wrong?

Is there a way, before starting an aptitude upgrade or apt-get upgrade, to set up something so that you can "easily" rollback your system to the "apt" state it was before the actual upgrade, if ...
5
votes
2answers
3k 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
599 views

Lotus Note installation on Linux Mint 14?

I'm trying to install IBM Lotus Note 8.5.3 on Linux Mint 14 using terminal. Problem is that it's not installing and showing following error sudo apt-get install ibm-lotus-notes-8.5.3.i586.deb Reading ...
0
votes
1answer
713 views

Why is my shell script hanging on `apt-get -y upgrade`?

Ubuntu : sudo DEBIAN_FRONTEND=noninteractive apt-get -y update sudo DEBIAN_FRONTEND=noninteractive apt-get -y upgrade sudo reboot Script is always interrupted after upgrade and then it will stay on ...
2
votes
1answer
231 views

What is the debian equivalent to this repoquery command?

What is the debian equivalent to this repoquery command? repoquery --repofrompath="abc,http://path/to/repo" --repoid=abc -q mypkg --qf ...
1
vote
1answer
95 views

How can I build fdupes from source on Ubuntu?

I would like to make a few changes to the fdupes code. I know I can grab the source code from the website - but is there a better way on Ubuntu / Debian? After getting the source this way where is ...
11
votes
5answers
6k 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?
5
votes
1answer
4k views

apt-get via ssh-tunnel if only port 22 is allowed

I have a server which has only access to the outer world via port 22 (for the use of ssh from the server to other computers). I want to install some packages via apt-get on this server. Can I achive ...
2
votes
1answer
3k views

error while using apt-get install for any package

I have tried to install texlive-full with apt-get and the installation stopped due to some errors. Later I removed all folders and files related to texlive, texmf manually. Since then I get the ...
3
votes
2answers
439 views

How do I remove persistent config data from APT?

When I remove packages from my system with APT-based programs, they often leave behind some kind of residue (referred to as "residual config") that seems to serve no purpose other than annoying me. ...
3
votes
2answers
666 views

Automatic Update Script using Cron, Exit Codes, and Logging

I'm managing multiple machines running Debian, Raspian, and Mint. On some of the machines I want to have updating and upgrading automatically. I've drafted a script that I want to do this and log if ...
4
votes
2answers
206 views

apt-get: install modified package with dependencies

I have downloaded a Debian package lxde, together with all its dependencies: apt-get install --no-install-recommends lxde --download-only So now, I have all packages in my /var/cache/apt/archives. ...
2
votes
3answers
12k 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
113 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 ...
0
votes
1answer
369 views

Can't pin Wheezy on Linux Mint Debian Edition (LMDE)

I'd like to have your advice on yet another pinning problem that hit me recently. I've been through man apt_preferences several times, and I can't find anything wrong in what I did. I was having ...
4
votes
3answers
959 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?
5
votes
2answers
168 views

How to install Suggests dependencies of a package

If I want to install a package and its Suggests dependencies, I run: $ sudo apt-get --install-suggests install <package name> However, if <package name> is already installed, and not ...
1
vote
3answers
342 views

download packages for different distribution with apt

I want to download a .deb package with it's dependencies for a different distribution. I have many Linux systems in my company: Ubuntu 11.04, 11.10, 12.10, and Debian 5 and 6. The command to ...
2
votes
1answer
411 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: # ...
3
votes
2answers
82 views

How do I find out where the contents of a package are installed?

I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even ...
2
votes
0answers
290 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
0
votes
1answer
2k views

Small update.. Now cannot download/update

Earlier today I was ssh'ing into my box and discovered that the internal IP had changed from what it was, I decided I wanted to make this static and found a tutorial (kind of) how to: nano ...
1
vote
1answer
136 views

libpam-ck-connector causing apt-get to fail

I used apt-get autoremove on my Debian server and now apt-get won't install or remove anything as it keeps trying but failing to remove libpam-ck-connector. When trying to install anything… ...
10
votes
2answers
1k views

hook a script to apt-get

I have /tmp on a separate partition, and mounted with noexec. I am using Debian. The installation of some packages fails, because the post-installation scripts of some packages need to run from /tmp. ...
4
votes
2answers
3k 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 ...
7
votes
1answer
16k views

Unable to install ia32-libs in Debian Wheezy

I was trying to install ia32-libs in Debian Wheezy. I got the error The following packages have unmet dependencies: ia32-libs : Depends: ia32-libs-i386 but it is not installable E: Unable to correct ...
3
votes
3answers
197 views

Install using synaptic ignoring dependencies

I was trying to install texmaker a latex editor in my debian system from synaptic. It shows in the dependency list texlive-base, texlive-common. etc as dependencies. But I have already installed ...
2
votes
1answer
251 views

apt-get error 503

I tried installing pyqt4-dev-tools on my machine using the following command: sudo apt-get install pyqt4-dev-tools after a few prompts the installation is aborted with the following message: Err ...
0
votes
1answer
52 views

Is there a clang-snapshot?

I've just discovered the wonderful gcc-snapshot package for Ubuntu. I don't see a clang-snapshot or llvm-snapshot package though. Is there an equivalent for clang?
1
vote
1answer
3k views

Unable to install skype on LMDE,how to resolve these dependencies?

I have downloaded "multiarch" .deb file for latest skype and unable to install it on latest version of LMDE (linux mint debian edition Xfce x86_64). e.g step one : sudo dpkg -i ...
3
votes
2answers
510 views

Finding yum equivalents of apt repositories?

I have code to setup an Ubuntu server that relies on apt-get. It has lots of packages as documented on our project wiki, for example these: development environment and the ruby dependencies. However, ...
0
votes
1answer
511 views

How to remove metapackage entirely in Debian

Is there any way to remove meta package and all its packages? Subset of metapackage is packages which don't depend on metapackage by all means. That's why if remove one metapackage only the package's ...
1
vote
1answer
104 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 ...
2
votes
2answers
84 views

Get list of packages that provide (APT)

How can I generate a list of packages that the specific package provides using the apt-family?
1
vote
2answers
64 views

The dependency isn't installed

I'm testing my .deb package and cannot find out why it doesn't install the dependencies: The control file's Depends line is: Depends: zend-grid-module, postgresql-8.4, ${shlibs:Depends}, ...
2
votes
3answers
2k 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, ...
11
votes
2answers
2k views

Is it possible to simulate installation of Debian packages, still marking them 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 would be ...
2
votes
1answer
1k views

apt-get won't install: dpkg: files list for package 'gnome-themes-standard-data' is not a regular file

I'm trying to install packages to get a webcam stream running on my raspberry pi. All of a sudden, apt-get is totally busted -- every time I try to install, reinstall or purge something that might fix ...
2
votes
0answers
112 views

What does apt need to be healed of a bad setup?

I made a couple of earlier posts regarding a libssl-dev that, it seemed, was not removable. Some of the replies touched on that there was a problem with apt, and now that someone posted the command to ...
3
votes
2answers
3k views

How do I update my Debian kernel?

Essentially I have an Ubuntu laptop and a board running Debian. I have installed the same kernel module and a utility for managing it on each, using aptitude. Unfortunately, the versions of the ...
1
vote
2answers
209 views

Finding all “essential” packages with apt

When I run synaptic, there are certain packages which synaptic treats as "essential". For example, if I select bash for removal, I will be warned that bash is an "essential package". If I then press ...
1
vote
1answer
513 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 ...
2
votes
3answers
812 views

Unmet dependencies

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 ...
0
votes
1answer
50 views

No internet access for system services; however, browser access works

Unable to reload repos via apt-get, aptitude, or synaptic. Dropbox does not connect or sync. Pithos does not connect to pandora.com. Chrome and Firefox browsers do work fine. I have been unable to ...
2
votes
2answers
1k views

Upgrade a single package from a target release

In Debian Squeeze I have installed a packageX from debian-backports. Q1: When I apt-get dist-upgrade or aptitude full-upgrade, what release is checked for updates for packageX? debian-backports or ...
4
votes
2answers
967 views

How to run a command after apt-get upgrade

Recently I came across the nice checkrestart tool, that checks if running processes use an outdated version of a recently updated library and would need a restart to load them with the updated lib. At ...
0
votes
1answer
163 views

aptitude current status warning

After installing some packages, i.e. sudo aptitude install pkg ... , there was a line of message at the end of the output: Current status: 0 updates [-66]. What does it mean?
4
votes
1answer
575 views

When does “apt-get install” ask me to confirm whether I want to continue or not?

Sometimes "apt-get install" asks me "Do you want to continue [Y/n]?": root@T43:~# apt-get install chmsee Reading package lists... Done Building dependency tree Reading state information... ...
5
votes
1answer
70 views

How does APT deal with different programs with the same name?

I decided to finally learn vi and as I was doing that I realized that vi wasn't behaving as I expected. I learned from another post that this was because, on Ubuntu, vim-tiny is installed by default. ...