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
438 views

mysql-server-5.5 unmet dependencies each time running apt-get

Each time I run "sudo apt-get install package-name", the following error happened, even if I tried to install other packages other than mysql ones: You might want to run 'apt-get -f install' to ...
1
vote
1answer
116 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 ...
1
vote
2answers
415 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
39 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 ...
1
vote
1answer
242 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
868 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
76 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
414 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
186 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 ...
1
vote
1answer
131 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
94 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
301 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
2k 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
904 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
640 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 ...
1
vote
2answers
89 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
886 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
397 views

how to force upgrade of coreutils on old distribution?

I'm running an oldish kubuntu "precise" I need a more up to date version of basename with the -s option. Can I force this somehow? Seems I need 8.14 looking at a version I see on a newer box.
1
vote
1answer
164 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
154 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 ...
1
vote
2answers
112 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 ...
1
vote
1answer
288 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
574 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
79 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
914 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
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
277 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
554 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
159 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 ...
1
vote
1answer
80 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
464 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"); ...
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
221 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 ...
1
vote
2answers
6k views

MongoDB install errors / E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm trying to install things in Linux (Crunchbang Linux - a derivation of Debian), and I'm getting errors which point towards mongodb-20gen. When I try to remove it using :- cometbill@Linuxn00b:~$ ...
1
vote
1answer
102 views

Setting up a repository server

Is it possible to set up a server to mirror a distro's repository, but only download/store requested upgrades or new packages rather than download them all? So all computers on the LAN can connect to ...
1
vote
1answer
129 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 ...
1
vote
1answer
655 views

apt-get dist-upgrade wants to remove too much packages

I'm upgrading from Mint 13 to Mint 15 using apt-get dist-upgrade. It want to remove 277 packages, which I find quite a lot. Among those packages are acroread, xmlcopyeditor, wine1.4, skype and others. ...
1
vote
1answer
319 views

apt-proxy replacement/alternative on Debian

I missed that apt-proxy is not available anymore. What are my alternatives? Google didn't give me anything useful expect years old stuff.
1
vote
1answer
322 views

Uninstall MySQL server without removing or breaking any client functionality

I have an Ubuntu webserver which once used a local database, but we migrated it and now the database is stored remotely on a separate server accessed from many different places. The webserver runs ...
1
vote
1answer
2k views

Apt-get, no sudoers file

I am trying to install a module using apt-get. For that I do the following: sudo apt-get install But I get the following error: sudo: can't stat /etc/sudoers: No such file or directory sudo: no ...
1
vote
2answers
104 views

How to stop apt from uninstalling the packages while updating

I using apt in terminal to install an update. When i used apt-get -f install it showed 0 upgraded, 7 newly installed, 428 to remove and 3 not upgraded. 4 not fully installed or removed. Need to get ...
1
vote
1answer
91 views

Understanding aptitude's behavior on a machine with multiple archives enabled

I'm having to deal with a Debian server, which initially was Squeeze, I believe, but where administrator enabled several distributions: deb http://mirror.yandex.ru/debian/ stable main contrib ...
1
vote
1answer
607 views

Which parameters were used by apt-get to install init scripts for a package?

After removing the init script for hdparm with # update-rc.d hdparm remove, the wish is to re-install/fix/repair the hdparm init script. In other words to undo the update-rc.d removal. Calling # ...
1
vote
1answer
3k 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. ...