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
52 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
2answers
150 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
111 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
72 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
246 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
697 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
276 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
191 views

Using a file to install packages with apt-get

I find it very convenient to install packages on a new machine through package files like brewfiles, caskfiles, dockerfiles, package.json etc. Is there an alternative to this for apt-get since I ...
1
vote
1answer
127 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
100 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
69 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
230 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
433 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
72 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
847 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
236 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
471 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
940 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
53 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
150 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
75 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
371 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
115 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
2answers
606 views

How do I resolve an apparent hanging update process

I am trying to update an instance on AWS. I have little familiarity with linux in general. However, I did run the command on my Ras. Pi first and had no problems. However this is the second time ...
1
vote
2answers
201 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
95 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
111 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
4k 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 ...
1
vote
1answer
281 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
284 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
101 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
561 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. ...
1
vote
1answer
221 views

How to purge package in debian without affecting other packages?

I had mysql-server-5.1 installed, then upgraded to mysql-server-5.5 and now upgraded to percona server (package percona-server-server-5.5). So now I have 2 mysql-server packages removed, but not ...
1
vote
1answer
490 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
2answers
785 views

problems installing lcov on Debian 6

I have been stuck for a few hours trying to install lcov on a debian 6 box. Any help would be greatly appreciated! What I have tried the following in the command line: ...
1
vote
2answers
4k views

How to uninstall java on Linux Mint 12

Today, I downloaded the latest java jre which is a .bin file By mistake, I installed it on my desktop by running ./jre. I want to remove this installation, move the .bin file to somewhere else and ...
1
vote
1answer
110 views

Removing generic kernel updates from aptitude post custom kernel install

I've updated my Mint 12 system to be running a kernel built from Linus' git repo. Now, whenever I run apt-get upgrade, I see that linux*-generic are still on the update list (they're being "kept ...
1
vote
2answers
4k views

“invoke-rc.d: initscript cups, action ”start“ failed.” while configure cups

When I run apt-get -f install, I get the following abnormal output: Setting up cups (1.5.0-8) ... start: Job failed to start invoke-rc.d: initscript cups, action "start" failed. dpkg: error ...
1
vote
3answers
935 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 ...
1
vote
1answer
27 views

Linux yum Commands that are Equivalent to these Ubuntu apt-get Commands [closed]

I'm using an AWS EC2 instance and I'm trying to switch from an Ubuntu instance to a Linux (Amazon Linux AMI) instance and in doing so I need to figure out the equivalent apt-get to yum commands and ...
1
vote
1answer
20 views

How to create remote repository, and update it via apt-get?

Maybe I'm not asking the proper question, but since it's something new to me here it goes: I have a remote repository with some files. Let's say, a folder in this address 89.xxx.xxx.xxx:9999/myData ...
1
vote
1answer
28 views

Rollback all apt-get packages to the maximum available under the actual sources.list

Given that APT has the power of the super COW and this should be amazing. There's a simple, elegant and working way (because I tried with pin solutions proposed as well as the preferences file, and ...
1
vote
1answer
23 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
52 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 ...