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

learn more… | top users | synonyms (1)

2
votes
2answers
19 views

hwinfo not found after seemingly successful install

I installed hwinfo using sudo apt-get install hwinfo and the system tells me that: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW ...
26
votes
4answers
32k views

How can I update to a newer version of Git using apt-get?

I've just set up a new machine with Ubuntu Oneiric 11.10 and then run apt-get update apt-get upgrade apt-get install git Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
1
vote
2answers
13 views

Getting a list of files modified after an apt-get upgrade or intstall?

I would like to run AIDE or tripwire to make sure executables/configuration files/... do not get modified by malware. Or at least notify me if they do get modified. I would like to get a list of ...
3
votes
1answer
3k views

How to add Debian Universe in etc/apt/sources.list?

In /etc/apt/sources.list I added universe to deb http://http.debian.net/debian wheezy main contrib non-free universe When I did aptitude update the log complained about: W: Failed to fetch ...
2
votes
2answers
464 views

How to download Debian package's source code?

I want to read source code of some package in Debian, how can i do that?
0
votes
1answer
17 views

Cleaning up sources.list and sources.list.d

For some reason, mostly due to my incompetence, there is some invalid address ( ie 404 ) pointed by my sources.list, and from some files contained under sources.list.d ( this is an way extending ...
1
vote
1answer
31 views

How to apt-delete-repository? [duplicate]

I would like to run the reverse of this command to remove the non-compatible repository in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback where the command add-apt-repository is in the ...
0
votes
0answers
13 views

apt-get update on Debian 8.1 failing after fresh install [on hold]

I have just installed a 64-bit version of Debian 8.1 which is failing when i try to run apt-get update. # apt-get update Hit http://ftp.dk.debian.org jessie InRelease Hit http://ftp.dk.debian.org ...
2
votes
1answer
28 views

Is granting unattended-upgrade command to non-sudo users safe?

I have found out that I give get a non-sudo user access to certain commands with the sudo privileges. However, my plan to allow them to run apt-get dist-upgrade the system is not safe because they ...
0
votes
0answers
27 views

apt-get error installing software on Parrot OS

I am trying to install Evolution Email client but when I run "sudo apt-get install evolution" I get the following errors: "Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
299 views

Apt-get failing in bash script?

I have several machines (running Ubuntu LTS 12.4 64-bit) which need to be configured in the same way, so I created a shell script which will run automatically the first time the machine boots. It ...
1
vote
2answers
795 views

Unmet dependencies using apt-get on Ubuntu

I am working on a Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-43-generic x86_64) machine. It is a server running in production environment with other projects so I have to be quite careful. I have to install ...
11
votes
4answers
1k views

How can I reliably “hold” a package in Debian?

I have a package in Debian that has been manually patched (not ideal, I know) that I must hold at its current version so upgrades don't overwrite the patched changes (I will manually inspect and apply ...
2
votes
3answers
85 views

What exactly happens when I exec apt-get upgrade?

What happens with package when I upgrade rather than removing and reinstalling? What is the real difference between the two? How will the results differ? Are following two options equal (by package ...
3
votes
4answers
5k views

How to recreate /var/lib/dpkg/status?

I have deleted some files around /var/lib/dpkg/, namely: /var/lib/dpkg/status /var/lib/dpkg/available /var/lib/dpkg/info/* I understand Debian uses these files to keep some information about ...
3
votes
1answer
14 views

What do I have to consider when sharing the package cache between LXC guests?

I'd like to bind-mount a single copy of the package cache into all of my LXC guests. They already share a single apt-cacher-ng instance on their host. They obviously share the architecture and in fact ...
0
votes
2answers
31 views

apt-get: changing status of packages in bulk to not automatically installed

I am currently running Debian Jessie with the Xfce DE. I recently decided to replace the Xfce window manager with i3. Running sudo apt-get remove xfcwm unfortunately caused a lot of very necessary ...
34
votes
4answers
88k views

How to add repository from shell in Debian?

In Ubuntu one can add a repository to apt-get via the following command - sudo add-apt-repository ppa:yannubuntu/boot-repair As Ubuntu is based on Debian code base, I was expecting that the same ...
0
votes
0answers
27 views

Debian upgrade from Wheezy to Jessie fails on Amazon EC2

I have searched and read other debian upgrade threads, but my situation doesn't seem to match that described in the other questions on this topic. I have a t2.micro instance of debian running on ...
6
votes
2answers
3k 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?
1
vote
3answers
3k views

Can't install any package with sudo apt-get install

I'm running Raspbian on my Raspberry Pi I just set up this day, the problem is that every time I try to install any package I get an error , for example, sudo apt-get install samba gives me : The ...
0
votes
1answer
27 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 ...
0
votes
1answer
26 views

sudo apt-get update not working in elementary os freya [closed]

When I try to write sudo apt-get update I'm getting this error: $ sudo apt-get update E: The method driver /usr/lib/apt/methods/.http could not be found. Any ideas how to get this work correctly? ...
0
votes
0answers
18 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
24 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: ...
19
votes
4answers
26k views

Install from a deb file, by dpkg -i or by apt?

I have a deb package for installation. Shall I install by dpkg -i my.deb, or by apt? Will both handle the software dependency problem well? If by apt, how can I install from the deb by apt?
7
votes
2answers
389 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
25 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
55 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 ...
2
votes
2answers
70 views

if I upgrade from Debian Wheezy (7.x) to Jessie (8.x), will systemd run by default?

I am wary of systemd for various reasons which are irrelevant to this question. Now, I'm about to upgrade my Debian Wheezy to Debian Jessie. Will systemd be used by default after an apt-get ...
18
votes
3answers
8k views

What does “The following packages have been kept back” mean?

When doing an apt-get upgrade I sometimes get a message saying "The following packages have been kept back". For example: $ sudo apt-get upgrade ...
0
votes
1answer
30 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 ...
3
votes
3answers
42 views

How to find out if a specific package is installed on Debian?

I'm working with a Raspberry Pi B+ and Raspbian 5/5/2015 and some guides that are a few years old. I've got an external NTFS HDD hooked up to the Pi. Due to the articles age(s), common practices ...
1
vote
2answers
1k 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 ...
2
votes
2answers
84 views

Keep losing resolv.conf configurations

Every time i reboot raspi this resolv.conf files is cleaned. i normally add on this file the openDNS ips like below: # OpenDNS IPv4 nameservers nameserver 208.67.222.222 nameserver 208.67.220.220 I ...
0
votes
2answers
793 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
82 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
63 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 ...
0
votes
1answer
29 views

apt not working after i changed mirror

I was trying to install apt-transport-https (it was a tox dependency) when the mirror I was using (http://ftp3.nrc.ca) shutdown. Then I changed to the mirror http://ftp.ca.debian.org/debian/, but ...
0
votes
0answers
95 views

Installing Scudcloud Elementary OS, broken packages

I'm having some difficulties installing Scudcloud. axel@axel:~$ sudo apt-get install scudcloud Reading package lists... Done Building dependency tree Reading state information... Done Some ...
0
votes
2answers
4k views

Error while installing wireless-bcm43142-dkms-6.20.55.19: dependency linux-headers is not satisfiable

I have to install a .deb file with the firmware for the wifi card (This is the name of the file: wireless-bcm43142-dkms-6.20.55.19_amd64.deb; I've downloaded the file from here: ...
0
votes
2answers
33 views

gpg: can't open `–': No such file or directory

I'd like to install php 56 on my Debian Wheeyz System. So I added the dotdeb repo to apt. While fetching the key, an error occurred: # wget http://www.dotdeb.org/dotdeb.gpg -O- |apt-key add – ...
77
votes
9answers
42k views

Convince apt-get *not* to use IPv6 method

The ISP I work at is setting up an internal IPv6 network in preparation for eventually connecting to the IPv6 internet. As a result, several of the servers in this network now try to connect to ...
0
votes
1answer
14 views

Why getting CD requests in Debian APT-GET?

Code and outputs sudo apt-get install xfsprogs [sudo] password for masi: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages ...
1
vote
1answer
22 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 ...
1
vote
2answers
768 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
35 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
27 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
36 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 ...
1
vote
1answer
26 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 ...