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

learn more… | top users | synonyms (1)

7
votes
3answers
1k views

How do I find installed packages that have no install candidate?

I'd like to retrieve a list of installed packages that have no install candidate (e.g., because I removed an apt source file entry). How would I do that on Debian-based systems?
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 ...
0
votes
0answers
74 views

Can't install Amanda in Debian 7.6

I'm trying to install Amanda in Debian 7.6, but when I try to install the needed packages I get the error "Couldn't find package amanda-server, amanda-client and amanda-common" when I put this ...
0
votes
1answer
9k views

OpenVAS 7 not working after apt-get update - Failed to receive data: A TLS packet with unexpected length was received

The problem started when my Kali installation updated OpenVAS to v7: My admin username for the web service stopped working so I could no longer log in. I have tried everything I can think of to fix ...
1
vote
1answer
2k views

Debian 6 upgrade to Wheezy then testing release require kernel upgrade?

Debian 6 upgrade to Wheezy then testing release require kernel upgrade? I was doing a squeeze to wheezy upgrade. Then I got to testing. Each step with upgrade then dist-upgrade. I think I may ...
4
votes
2answers
112 views

Why am I getting so many hits searching for “git” in the apt cache?

When I give the following command: apt-cache search git | wc -l I get the answer 756. How can I list just the half-dozen or so apps associated with git?
2
votes
2answers
2k views

Installing Steam on Debian Wheezy

I downloaded the .deb file from the Steam website, but couldn't install it as it complained about having and "outdated" version of libc6. I look around and apparently I have to add jessie sources to ...
0
votes
0answers
85 views

apt itself update and download packages

I have Debian SID with the following APT configuration: APT::Periodic::Update-Package-Lists "0"; APT::Periodic::Download-Upgradeable-Packages "0"; APT::Periodic::AutocleanInterval "0"; ...
1
vote
1answer
769 views

Installing mysql-workbench from the testing ppa (Jessie) in Wheezy

I would like to install some packages from the testing branch without switching to it if possible. The big packages are things like xfce4 and mysql-workbench. I've done this by making a testing.list ...
3
votes
1answer
4k views

“Package 'linux-headers-3.13.0-27-generic' has no installation candidate”

I'm trying to resolve an issue that I posted here. I'm basically trying to successfully run this script. To do that, I believe (and I its very possible that I'm wrong) I need to install the ...
3
votes
1answer
189 views

Restore original configuration for every package in system

I have been running a rolling release distro for a couple of years now and switched from LXDE to GNOME to KDE over the years. As you can imagine over the time a lot of configuration files have been ...
-1
votes
2answers
153 views

is there any command to execute apt-get update and upgrade?

I've ever wonder why there isn't a command in linux (debian and related distros) that instead of having to create an alias for a command like: sudo apt-get update; sudo apt-get upgrade why not ...
5
votes
1answer
2k views

Update single package from Ubuntu Utopic Unicorn when running Trusty Tahr

I'm tasked to update a package on a Ubuntu Server Trusty Tahr installation. Specifically rfc5766-turn-server which is really old on Trusty. https://launchpad.net/ubuntu/+source/rfc5766-turn-server ...
2
votes
2answers
369 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 ...
0
votes
0answers
66 views

Uninstall apache2 when apt-get claims it's not installed?

I restarted the VPS today only to find out that Nginx refused to start. As it turns out, Apache2 was running on the server already. Naturally, I stopped it and started Nginx, but I never installed ...
3
votes
1answer
1k views

Unmet dependencies after using a backports repository

I have added a backport repository to apt's sources.list to get an application: deb http://ftp.uk.debian.org/debian/ wheezy-backports main Long story short: I did not manage to install the ...
13
votes
4answers
2k views

In Debian based systems, how do we purge configuration files of packages that have already been uninstalled?

To be more specific, I would like to do the equivalent of adding the --purge flag to the following command sudo apt-get autoremove --purge [package name] to packages that are no longer on the ...
0
votes
1answer
133 views

apt-get purge complains about unmet dependencies

I am trying to strip out all my IME packages, to do a fresh install of a different IME (fcitx). I tried this: apt-get purge ibus-anthy anthy anthy-common libanthy0 \ ibus-mozc mozc-data mozc-server ...
0
votes
1answer
982 views

apt-get unable to fetch archives

I'm trying to install a package using apt-get as root on a Linux Mint host: # apt-get install gparted Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
1answer
48 views

user-level guide to maintaining Debian package update security? [closed]

Recently I listened to an interview with Kim Zetter (audio download here) on cybercrime/warfare, particularly Stuxnet and Flame. While listening to the discussion of how Flame exploited Windows ...
2
votes
1answer
279 views

Debian apt-get broken after trying to install skype

I tried to install Skype on my x86_64 computer, only to be faced with disaster, I followed the instructions on the Debian website, https://wiki.debian.org/skype for the 64bit instruction set, but ...
2
votes
2answers
641 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
2answers
2k 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 ...
1
vote
1answer
67 views

Remove Gnome Components detect by Packagename

I have tried out the dpkg, aptitude and apt commands. On the gnome desktop I decided to remove one component. sudo apt-get remove gnome-games or something else, all works fine. But if I don’t ...
2
votes
1answer
620 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. ...
1
vote
1answer
271 views

What is the 'apt-get' equvalent of 'aptitude keep-all'?

From aptitude man page. keep-all Cancels all scheduled actions on all packages; any packages whose sticky state indicates an installation, removal, or upgrade will have this ...
1
vote
2answers
52 views

Adding my software to Debian

How do you add a package to the official Debian APT repository? For example lets say I have a peice of software called quicktxtedit ,and I have a DEB file for it, and I want to add it to the offical ...
0
votes
1answer
70 views

Make python module as an installable API

I am developing an API in Unix environment for virtual machines. Most of the modules are developed in python. I have few questions on this. I want to make this as an installable API, I mean to ...
2
votes
1answer
439 views

How can I upgrade a complete list of packages from stable to backports

I have installed Qt 4.8.2 from Debian Wheezy on my system. Now, some application requires Qt 4.8.3 on my machine, so I looked at the versions and found that Qt 4.8.6 is avaliable in Wheezy-Backports: ...
7
votes
3answers
19k views

How can I upgrade MySQL in Debian using apt-get?

I'm using the Turnkey Linux virtual machine. The version of Debian in there is apparently on the "Wheezy" upgrade path (if that's what you call it). I'm not completely comfortable with Linux, as you ...
1
vote
1answer
105 views

List installed packages only from disk image

My Raspberry running Raspbian crashed but I would like to know which packages I had installed on that SD card. Is there a way to detect that without actually booting the system?
0
votes
1answer
2k views

How can I install mplayer on debian sid?

I have this error message when trying to install mplayer on debian sid: # apt-get install mplayer Reading package lists... Done Building dependency tree Reading state information... Done Some ...
1
vote
1answer
506 views

Setting up a minimal apt-get environment

I would like to set up a minimal environment with apt-get then selectively install packages one at a time. My understanding is that this is basically what the Debian installer does. Is this ...
1
vote
1answer
22 views

What files does affect apt-get purge¿?

I want to know before doing apt-get purge <packet> what files thats gonna have effect on. The reverse thing would be, what packet do I have to do purge if I want to remove that file (apt-file ...
2
votes
1answer
1k views

Unable to install packages from raspbian repo

I am unable to install certain packages on raspbian. On trying to install ristretto, links2, pqiv, fim packages i get the following error "Unable to detect package" $ sudo apt-get install ristretto ...
3
votes
1answer
833 views

Weird issue with unmet dependencies when cloning package states from earlier installation on same machine [closed]

I've been doing the usual routine of saving the package selections and also marking the packages as auto or manual as outlined in the question and answer here: Restoring all data from backup of dpkg ...
5
votes
1answer
306 views

How to stop `apt-get` complaining about unmet dependencies when I manually install the software from source? [duplicate]

I have been installing some applications onto my Debian system. Now there are some that have dependencies that I do not want installed with the applications at the moment. I have managed this by using ...
2
votes
3answers
5k views

Registering Ubuntu Client With Spacewalk

Right now I'm just testing the process for some desktop machines I'll be managing so I have a fresh install of Ubuntu 12.04.04 LTS. We have a non-satellite spacewalk server that I'd like to have ...
11
votes
3answers
12k views

Make apt-get update and upgrade automate and unattended

I have about 7 Debian servers I manage, and I would like to set them to automatically update themselves. So, I created a script as such: #!/bin/sh apt-get update apt-get upgrade and placed it on ...
9
votes
1answer
4k views

understanding the output of “apt-cache policy”

I ran apt-cache policy sudo before and after installing sudo: before install: # apt-cache policy sudo sudo: Installed: (none) Candidate: 1.8.5p2-1+nmu1 Version table: 1.8.5p2-1+nmu1 0 ...
3
votes
1answer
114 views

Why “backporting process does not consider upstream releases”?

From http://opensourcehacker.com/2013/03/20/how-to-backport-packages-on-ubuntu-linux/ backportpackage will download the latest version of the package from Ubuntu archives. The latest ...
-1
votes
1answer
44 views

When will we use apt-get to download source? [closed]

In what situation, will we like to use apt-get to download source? Can's we install from binary installation by apt-get too? If we are to install from source, can't we download source from its ...
2
votes
2answers
3k 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
5k views

apt-get update reports that http://ppa.launchpad.net list is being updated but there isn't an entry in the sources.list

I am trying to update Debian 6.5 and get the following errors. Err http://ppa.launchpad.net wheezy/main Sources 404 Not Found Err http://ppa.launchpad.net wheezy/main amd64 Packages ...
2
votes
1answer
102 views

apt pinning package versions

Is it possible to pin a version of a debian package? Is it possible to pin only the major version? (like with pip install "pyramid < 1.4.0" will install the latest 1.3.x but will not upgrade the ...
0
votes
1answer
87 views

How to minimize apt source.list

I think these lines can trim to few lines. So I need some advice. How can I improve these sources.list? apt/sources.list, Latest Debian release: deb http://security.debian.org/ wheezy/updates main ...
1
vote
1answer
1k views

The pool cannot be imported, because is formatted using an incompatible version

I can't access my zfs pool on Debian as it's saying that my version is too old: root@Microknoppix:~# zpool import pool: WD_4TB id: 12726205736285302822 state: UNAVAIL status: The pool is ...
0
votes
1answer
390 views

cannot find php5-sqlrelay package

why i cannot find php5-sqlrelay package is there any issue with my update aptitude update Hit http://security.debian.org wheezy/updates Release.gpg Hit ...
1
vote
1answer
91 views

Can a .deb package remove other packages?

I'm trying to make a lightweight VM based on Xubuntu. I want to start with a stock Xubuntu installation and then remove any packages that I don't need. My concept is to build a .deb package that ...
1
vote
1answer
78 views

How can the integrity of Debian's debian-keyring package be verified?

I encountered a Debian machine that, when trying to update packages, threw the widely discussed "GPG error: http://security.debian.org wheezy/updates Release: The following signatures couldn't be ...