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

learn more… | top users | synonyms (1)

6
votes
2answers
5k views

How to reinstall apt on Debian?

I accidently removed apt-get from my Debian system by issuing: dpkg --force-depends --purge apt How can I reinstall it?
0
votes
1answer
79 views

Debian upgrade causes many complications - best upgrading practices?

I upgraded my Debian Jessie KDE system last night by running apt-get update, apt-get upgrade, apt-get dist-upgrade, and apt-get autoremove. Immediately after it began to malfunction so I checked /var/...
0
votes
0answers
250 views

etc/apt/sources.list contents for EC2 Instances upon AWS

When I copy an Ubuntu image between regions, the image is customised slightly in the process. Notably the software sources in /etc/apt/sources.list are altered to "local values". I am aware that ...
1
vote
1answer
48 views

State of ucblogo package in debian / raspbian

My son and I are playing around with LOGO programming on a Raspberry Pi (in Raspbian). We ran into a problem with the current package (v 5.5) not properly interpreting arrow key input: http://...
9
votes
2answers
624 views

aptitude: Meaning of curly brackets, i.e. package1{b} package2{a} package3{u}

When using aptitude, the list of changed packages sometimes has a single character in curly brackets behind some package names. The man-page has two examples of them but does not explain them (version ...
1
vote
2answers
86 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 ...
6
votes
2answers
3k views

clear apt-get list

I am building an image for an embedded Linux based on Debian. I did use apt-get update before on the device that I want to use as a base for that image, so the lists under /var/lib/apt/lists are quite ...
0
votes
1answer
158 views

Reinstalling Apache on Raspberry Pi

I installed Apache 2 on my Raspberry Pi but was not able to configure it properly. I then tried to remove it and install again. To remove it I used the command sudo apt-get purge apache2 and then ...
1
vote
2answers
957 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 ...
5
votes
1answer
90 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. ...
1
vote
2answers
386 views

How to restore packages removed by installing a program

I was trying to install the normal map plugin for gimp, and I tried installing the package gimp-normalmap:i386 from the Software Manager on Linux Mint. As I was installing it, I realized that it was ...
1
vote
1answer
106 views

Install .deb file from git repo on apt-get install

I have a .deb file built and checked-in into my git repository. I want to add this git repository url, as an apt-get repo in the debian system. So, everytime, i do apt-get install apt-repo-demo, it ...
3
votes
2answers
2k views

apt-get error: trying to overwrite shared 'filename', which is different from other instances of package 'package'

I tried installing several Ubuntu packages on Debian Wheezy, but it failed and now I have broken packages. The problem is, running apt-get -f install fails as well, with this error: Preparing to ...
0
votes
1answer
121 views

Help installing in Lubuntu?

I'm fairly new to Linux and don't know how to get the data recovery softwares as they're not in the Lubuntu Software Center nor Synaptic Package Manager. Recuva Diskdigger Testdisk R-Linux
1
vote
0answers
90 views

Weird Wine dependency problems on Xubuntu

I'm on 64-bit Xubuntu 14.10. Nvidia graphics with the proprietary drivers, if that matters. I just ran apt-get update && apt-get upgrade, so I should be up to date. My CPU architecture is ...
0
votes
1answer
58 views

My package won't build because of a missing package

I am using Jenkins to build packages for our network. Right now the build fails because of the following error: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3....
1
vote
1answer
70 views

Bash script only runs in debug mode [closed]

I have the following bash script: #!/bin/bash -e SUDO=sudo $SUDO apt-get -y update || true $SUDO apt-get -y install lxc bridge-utils || true # remove the default bridge, if it exists DEFAUT_BRIDGE=...
8
votes
1answer
22k 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 ...
2
votes
1answer
911 views

Cannot install wine and playonlinux

I am in elementary OS Freya. sudo apt-get install wine Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
3
votes
4answers
2k views

What distro for my PowerBook G4? [closed]

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, ...
18
votes
5answers
12k 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?
2
votes
3answers
3k views

Installing latest r-base from r-project

I want to learn and use R, and so I need to install it. Unfortunately, Wheezy got only 2.15 version, while I need 3.1.1. I followed these instructions: http://cran.r-project.org/bin/linux/debian/ and ...
14
votes
2answers
374 views

Could Apt delete packages that are need by software that users have installed from source?

Apt handles dependencies among packages installed from its repositories or *.deb files. However, what about software that users have compiled and installed from source with ./configure && ...
15
votes
4answers
3k views

What does “are you root?” mean?

This is what I keep getting: ascendermedia@magic2tower:~$ sudo apt-get install flashplugin-installer bash: sudo: command not found ascendermedia@magic2tower:~$ sudo apt-get install flashplugin-...
0
votes
1answer
55 views

Software updater waiting for “q” key press

A few days ago Ubuntu's Software updater awaits user input (q to Quit). I have attached a screenshot with the problem. I think this is related with fake sync from Debian. What does this mean and how ...
1
vote
1answer
133 views

Multiple simultaneous instances of apt-get

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? What does these ...
0
votes
1answer
316 views

apt-get without sudo?

I am trying to install YouCompleteMe (YCM) on my user account on a Debian machine. The installation guide says we need python-dev for YCM to work: sudo apt-get install python-dev My question is: ...
3
votes
1answer
8k views

How to deal with a package “not upgraded” using aptitude?

I'm (still) on Debian Squeeze. When I try to upgrade the system, here's what I get: [09:20]/root# aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly ...
0
votes
1answer
390 views

How to upgrade a package which has a newer version than the repository?

I've installed tmux from apt-get. I checked the version is 1.8. But when I directly go to tmux official site, I see the latest version is 2.0. How can I upgrade to 2.0? sudo apt-get install --only-...
0
votes
1answer
32 views

Cleaning the apt database

It seems that now upgrades and installs are taking a long time. This seems mostly to be happening when reading the database. Is there a way of restructuring the database to make it more efficient?
1
vote
1answer
98 views

How do I get to know where a package came from?

On systems using apt: How do I get to know whether an installed package came from main, contrib or non-free?
1
vote
1answer
141 views

unstable apt-pinning set to -1 on stable Debian

This is how my /etc/apt/sources.list looks like on Debian 8.1: #### stable ######### deb http://httpredir.debian.org/debian stable main contrib non-free deb-src http://httpredir.debian.org/debian ...
0
votes
1answer
28 views

Why do some apt installation commands require confirmation?

Some apt installation commands, like apt-get install kate, prompt for confirmation, whilst others do not. Is there some reason for this?
3
votes
1answer
320 views

Why is installing a 32bit package on a 64bit system warning about removing critical 64bit packages?

When I try to install a 32bit library apt-get install liblua5.2:i386 apt warns that is is going to uninstall a number of essential 64 bit packages. Some of them are being replaced with 32 bit versions ...
1
vote
2answers
39 views

In Debian, how to recover /usr/share/doc?

On an old laptop running debian Jessie, I was doing an upgrade sudo apt-get upgrade But during the process, I checked the free space with df and saw that soon, less than 20 seconds, there will be ...
2
votes
2answers
229 views

How do I resolve package dependencies for a different target system?

(TL;DR: how do I determine the minimum set of packages to install, given an initial state and desired package list?) I'm creating an Ubuntu installer ISO for systems without access to distribution ...
1
vote
1answer
434 views

Synchronize software packages between different Linux distributions

Is there any way to synchronize software packages between different Linux distributions? There are several software packages that I need to synchronize between a Linux Mint installation and an Ubuntu ...
1
vote
1answer
492 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 ...
3
votes
2answers
163 views

apt - checking if a similar package has been installed

This question explains how to find out if a given Debian package has been installed, but it does not take into account "synonyms" when installing via apt-get. For instance, if I try apt-get install ...
1
vote
1answer
399 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
2answers
122 views

How do I get size of (deb) file from download link/URL?

I use --print-uris of apt-get to get url (download-link) of debs I want to download and install on my Debian (Trisquel) GNU/Linux. --print-uris Instead of fetching the files to install ...
0
votes
1answer
198 views

Golang keeps old version in crypto/ssh/terminal.a

I'm currently trying to install version 1.4.2 of Go in my environment (Ubuntu 14.04, 64bit, Gnome, zsh). I'd like to run this program for checking http2-status of domains. I've installed the golang ...
3
votes
1answer
810 views

Which ports should I open for apt-get to work?

I installed Webmin, and then set up the firewall like this: INPUT SSH port ALLOWED Webmin port ALLOWED HTTP port (80) ALLOWED DROP EVERYTHING ELSE FORWARDING no rules OUTPUT no rules If I remove ...
6
votes
1answer
1k views

Noninteractive script running over ssh is interrupted as apt-get finishes

When I run the following non interactive script on Ubuntu Server 13.04 it's interrupted when lxc-docker package finishes installation. Script : ssh -o StrictHostKeychecking=no -t -t -i $CERT $USER@...
0
votes
2answers
123 views

I need to install two different versions of a library on a Debian-based distro

Jessie comes with APR (apache runtime portable) as package libapr1 version 1.5.1-3. However, that is the only version that Jessie has (it is also the newest version). I am trying to build the UIMA C++...
0
votes
1answer
357 views

apt-get update => could not open dpkg lock file (5: Input/output error)

If I run "sudo apt-get update" I get following error messages E: Could not open lock file /var/lib/dpkg/lock - open (5: Input/output error) E: Unable to lock the administration directory (/var/lib/...
0
votes
2answers
2k views

Installing perl modules

I was trying to install a perl module Future::Utils on my Ubuntu machine but didn't find the exact command. I tried this command but it didn't work: sudo apt-get install libfuture-utils-perl I have ...
0
votes
0answers
38 views

Private APT repository not upgrading

I am involved in developing a product based on Linux which was to be utilizing APT as an auto-update system. I've created 3 versions of the package in .deb format. They have the same package name ...
0
votes
0answers
131 views

Installing hostapd via apt-get and dpkg results in different boot behaviour

I am trying to set up a Wifi hotspot on Debian 7.6. After reading a few tutorials, I have managed to get the Wifi working by installing and configuring hostapd. I need to install and configure this ...
5
votes
1answer
206 views

apt-get doesn't recognize TeX as already installed

I tried installing TexLive by downloading the install-tl-unx.tar.gz file from here and extracting it, then doing sudo perl install-tl and I added the following to /etc/profile: PATH=/usr/local/...