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

learn more… | top users | synonyms (1)

1
vote
1answer
45 views

How do I install LXDE offline into debian?

I am running the latest version of Debian, command line only. the PC is offline. Do not ask me to get it online because i can't. I want to install the desktop environment LXDE but I have no CD and no ...
1
vote
1answer
27 views

Is possible to obtain a list of debian packages that doesn't have a gui / run in X?

I'm interested into creating a script able to get my own iso of debian for offline working purposes, however I have no the need of any gui utility that are generally for desktop usage. For the ...
1
vote
1answer
49 views

Update apt-get cache only if it's older than certain time

I'm on debian. I would like to execute an apt-get update (and maybe something else) only if the time since last update is bigger or smaller than a certain amount with a straight command, no cron ...
1
vote
2answers
71 views

How can I detect when apt-get update fails due to no network connection?

I have a script which runs the command apt-get update but the script is unable to detect failure due to no internet. i.e. if apt-get is not run with root privileges it exits with code 100. so I can do ...
1
vote
2answers
73 views

Debian dependencies for ttyecho

Which dependencies should a Debian package have, which distributes the binary of ttyecho?
1
vote
1answer
125 views

apt-get update not working [closed]

I'm trying to install haproxy to my Debian Server. I have followed the instructions as below: create a new file called backports.list in /etc/apt/sources.list.d Add the follwing to the file: ...
1
vote
2answers
65 views

apt-get install local package even when outdated

In Debian, the dvd source contains packages that may not be already installed on the system. When these get updated, the dvd contains the outdated package. And when we try apt-get install outdated-...
1
vote
1answer
84 views

Some packages cannot be installed using multi-arch (take two)

Note: This question has been previously asked on askubuntu.com but was rejected as off-topic, and instead, I was redirected to this site. Therefore I'm reposting it here. I'm trying to compile a ...
1
vote
1answer
397 views

How to install a newer version of mysql workbench than is available in my distro's repos

I'm guessing this will be a quick fix for you. I am trying to install a version of mysql workbench that is NEWER than what is available to me through the regular debian repos. I started by adding ...
1
vote
2answers
2k views

Debian 8 Jessie “E: Unable to locate package lmms”

I am trying to install lmms for some audio production on Debian 8. Here's process: sudo apt-get update sudo apt-get upgrade sudo apt-get install lmms "E: Unable to locate package lmms" This is ...
1
vote
1answer
92 views

Debian 8 - kernel with vserver - apt can't find packages

apt-get install linux-image-2.6-vserver-686 apt-get nvidia-kernel-2.6-vserver-686 My apt can't find the above packages. What should I add to sources.list? I have tried to find information in Google, ...
1
vote
1answer
33 views

How to remove package-dir map and use a symlink instead?

I installed npm. After that I uninstalled it by: sudo apt-get remove npm sudo apt-get purge npm Now I added a symlink via a package downloaded manually by: lns /my_path/node However when I run ...
1
vote
1answer
134 views

No clisp in Debian's repository?

I want to install clisp. My /etc/apt/sources.list: deb http://security.debian.org/ testing/updates main contrib deb-src http://security.debian.org/ testing/updates main contrib deb http://http....
1
vote
2answers
503 views

sudo apt-get command not working in Linux Mint

I am trying to install a few programs such as git / fluxgui on my Linux Mint computer. However, every time I enter the following command with my password sudo apt-get install git or sudo apt-get ...
1
vote
1answer
40 views

Why does apt-cache list also packages which are NOT installed?

For example: sudo apt-get update sudo apt-cache pkgnames | less | sort > inst_pkgs.txt Output .... virtualbox virtualbox-4.3 virtualbox-5.0 virtualbox-dbg virtualbox-dkms virtualbox-guest-...
1
vote
1answer
256 views

Debian Jessie - dpkg / apt intall, update and uninstall broken

I have a problem with a Debian server that I use for multiple purposes. Yesterday I tried to upgrade my packages with a simple apt-get update / upgrade as usual and found everything to be broken : ...
1
vote
1answer
2k views

E: Unable to locate package libssl-dev when trying to download 32bit OpenSSL on 64bit system

I'm trying to compile multiarch project the right (means reproducible) way, so I decided to install all libraries through apt-get. But ever since the system noticed what I'm doing, it became hostile. ...
1
vote
1answer
913 views

apt-get doesn't work on kali linux v2.0 [closed]

For example, when i type apt-get install tor i get : Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to ...
1
vote
2answers
82 views

apt-get upgrade stalls

I had an issue with list.sources file. Now that's resolved and I'm wondering how can I make sure that it's safe to apt-get upgrade and dist-upgrade the system? s2:/var# aptitude upgrade Resolving ...
1
vote
1answer
456 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
1
vote
2answers
195 views

How can I install youtube-dl on BOSS linux?

I try to install youtube-dl on BOSS Linux by following commands. $ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install youtube-dl $ sudo pip install youtube-...
1
vote
1answer
136 views

How to manage Debian source code packages using aptitude or apt?

Background: I would like to regularly download and install source to /usr/src for certain important development packages. (For me: Qt5 and friends.) I have seen this other question about one-time ...
1
vote
2answers
95 views

Is it possible to “install” a hook that will be called before removal of a package?

Background: on Ubuntu I like to prevent sshd from logging errors when trying to load the ssh_host_dsa_key file when I remove it. There appears to be no configuration option in sshd_config to prevent ...
1
vote
1answer
308 views

Debhelper recursive dependency

Unfortunately, debhelper has a recursive dependency. When I try to install with apt-get source --compile debhelper, it says: Reading package lists... Done Building dependency tree Reading ...
1
vote
1answer
3k views

Backup and Restore list of installed packages and APT sources

I commonly reinstall Ubuntu and back up my APT stuff [sources, keys and installed package lists] using the tutorial at http://askubuntu.com/a/99151/371765. However I commonly also remove software such ...
1
vote
1answer
946 views

Error while installing Apache; error is “E: Sub-process /usr/bin/dpkg returned an error code (1)”

I followed an online article to remove my Apache from my system. I removed Apache through these commands sudo apt-get purge apache2 apache2-utils sudo rm -rf /etc/apache2-bin sudo apt-get autoremove ...
1
vote
1answer
687 views

Duplicate sources.list entry

I received following error and then I tried apt-get update to correct it but that didn't work. W: Duplicate sources.list entry http://http.us.debian.org/debian/ wheezy/contrib i386 Packages (/var/lib/...
1
vote
2answers
90 views

How can I let people install my package by apt-get?

I have a set of binary packages that I want the user to be able to install from command line via apt-get or yum without having to host it myself on a server. I have heard of reprepro and pushing it to ...
1
vote
1answer
985 views

removing clamav with purge leaves database

I uninstalled clamav with apt-get remove --purge clamav but still I have this 100MB folder: du -shc /var/lib/clamav Why is this not deleted on purge? And how can I find out if some other ...
1
vote
1answer
167 views

Maintain two tomcat installations with apt-get

On our server we have two tomcat8 installations on debian wheezy. One tomcat was installed via apt-get install , the second instance was then just copied from the first installation. But this makes it ...
1
vote
1answer
160 views

Find source of all installed packages on Debian based systems

I am trying to find a good method to find the repository for each package that was stored on my system that can be easily parsed. Backstory: I have Debian wheezy systems and have setup the wheezy-...
1
vote
2answers
116 views

is there a difference between these lines in `/etc/apt/sources.list`?

In a guide for installing a wireless card, I'm told to add the following lines to /etc/apt/sources.list: deb http://http.debian.net/debian/ wheezy main contrib non-free This is what my sources.list ...
1
vote
1answer
76 views

Reason for security repositories in Debian?

In /etc/apt/sources.list(lists APT data sources) file there are two repositories listed for security updates: deb http://security.debian.org/ wheezy/updates main contrib non-free deb-src http://...
1
vote
1answer
299 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
597 views

reinstall removed core packages

I have accidentally deleted some Linux Mint Cinnamon default packages. (I have run `remove evolution-*' to remove Evolution related packages, but it includes some core packages). So now I don't have ...
1
vote
1answer
80 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 ...
1
vote
2answers
929 views

Cannot install Firefox in Semplice Linux

I am using Semplice Linux in VMware on Windows 7. It works fine but I cannot install Firefox. Semplice Linux is based on Debian Sid (unstable branch) with an Openbox desktop. This is what I get ...
1
vote
2answers
3k views

“except (IOError, OSError), e: SyntaxError: invalid syntax” when configuring python-lockfile

I am having trouble installing any new packages in Ubuntu because of python. I tried sudo apt-get install python3 python3-dev but I am getting the following output :: dpkg: error processing python-...
1
vote
1answer
2k views

shellshock solution for nexenta/solaris

I'm trying to solve the shellshock issue on my system: SunOS localhost 5.11 NexentaOS_134f i86pc i386 i86pc Solaris # bash --version GNU bash, version 3.2.48(1)-release (i386-pc-solaris2.11) ...
1
vote
1answer
283 views

Install zip on SteamOS

How can I install zip on Steam OS (a Debian Wheezy derivative) if my apt sources do not have it? # apt-get install zip Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
576 views

Why is apt-get trying to remove certain packages when I install wine?

I'm trying to install wine, which is software for running Windows applications. When I do sudo apt-get install wine, apt-get warns me that some packages are being removed. Why would apt-get remove ...
1
vote
2answers
1k views

Fix dependencies without updating package?

I updated my Debian installation at home and it updated chromium to the (IMO) awfull 35.0 version. I removed it by using apt-get remove chromium and apt-get autoremove. I went here and grabbed the ....
1
vote
1answer
58 views

APT pinning or faking the version number of my own package?

I'd like to create my own repository for personal use across a number of machines. Packages will be signed as usual and some of the packaged software will be the same as provided by the official ...
1
vote
1answer
162 views

How do I make apt pick a certain package from a specific source?

I tried pinning the debian_testing source, but it's not really working (I want to pick version 0.10.29): Package: nodejs Pin: release a=debian_testing Pin-Priority: 1000 Here's the apt-cache policy:...
1
vote
1answer
82 views

After apt-get update and upgrade, do I need to recompile and re-install software that I did not install via apt-get install?

In particular, I noticed that my OpenSSL has been upgraded after a system update via sudo apt-get update and sudo apt-get upgrade. As I installed my Squid server by manually compiling, configuring ...
1
vote
1answer
479 views

How to get “apt-get -y upgrade” within a PHP script to function as expected?

Yes, I'm aware of unattended-upgrade, but I don't like that package's limitations. I've got a PHP script that makes the following calls: ... system("/usr/bin/apt-get update"); system("/usr/bin/apt-...
1
vote
1answer
118 views

apt and aptitude died after dist-upgrade

I followed the Debian Instructions for upgrading from Squeeze to Wheezy in Debian. I audited my packages, updated my /etc/apt/sources.list file to get Wheezy sources, I ran apt-get update and apt-get ...
1
vote
1answer
2k views

E: Unable to locate package tlp

I an trying to install tlp as explained in the website by addin ppa as follows in Linux Mint 15 sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update and then sudo apt-get update ...
1
vote
2answers
226 views

What is the equivalent to yum-versionlock for ubuntu?

I need to install r-base 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 ...
1
vote
1answer
50 views

Reinstall software without re-downloading from software center?

Forgive me if this is an extremely noob question, I am new to Linux. I have installed FlightGear, a flight simulator. Some of the game's main files have been tampered with by a third-party app and ...