to check the installation status, you can use dpkg-query -l python-dev the first row will give you the installation status (ii means (currently) installed and (to-be) installed) you cannot install a package without root-access (that's the point of root-access: having the priviliges to modify the system components). However, you can...

The package unattended-upgrades installs only security upgrades by default. You can configure it to install them automatically, or just call it with: sudo unattended-upgrade More information on how to get it running properly: https://wiki.debian.org/UnattendedUpgrades...

maintaining your own repository In order to make your .deb files indexable by apt, you need to provide at least a Packages files in /locate/repo/x86_64/dists. This file lists all the Packages (for a given suite), and includes all the meta-data (description, dependencies,...) How exactly you do this, depends on your...

If you look at the __init__.py file of the apt package, you see the line: __all__ = ['Cache', 'Cdrom', 'Package'] The python documentation says: The import statement uses the following convention: if a package’s __ init__.py code defines a list named all, it is taken to be the list of...

there is no package, so you cannot install it. Debian has switched to libav in favour of ffmpeg, and the gstreamer0.10-ffmpeg package currently cannot be be build using libav. hence it is not jessie. You might have luck (or not) using one of the gstreamer0.10-ffmpeg packages on some ubuntu PPAs...

So it seems that disabling Windows firewall solved the problem. I'm not sure exactly why given that curl to us.archive.ubuntu.com worked over SSH, but nonetheless it seemed to work after I disabled Windows firewall....

Please try following sudo DEBIAN_FRONTEND=noninteractive apt-get install -qq libpam-ldap However using -qq is discouraged (check man apt-get) so try with '-q' Anyways important for you is DEBIAN_FRONTEND=noninteractive...

Just rename sources.list.save to sources.list . sources.list.save is a backup file for sources.list. If the sources.list file got deleted accidentally, you may use the contents inside the sources.list.save file but the file name must be sources.list so that Ubuntu would take this file.

The page located at https://get.docker.com/ubuntu/ contains a script that can be used to install docker # Check that HTTPS transport is available to APT if [ ! -e /usr/lib/apt/methods/https ]; then apt-get update apt-get install -y apt-transport-https fi # Add the repository to your APT sources echo deb https://get.docker.com/ubuntu docker...

The reason that these distributions use packages is that you can nicely encode the installation requirements, and scripts to be run at installation, modifications to be made etc. in a well-defined packet format. Now, what you're asking for is why don't apt and the like offer incremental updates? They do....

No, this isn't possible. Debian uses Perl internally for a number of system management tasks — it's a critical system component. As the Perl ABI changes between major versions, and all of the Perl modules in Debian are compiled against the version of Perl that was supplied with that release,...

Please read this article about relations and ordering in puppet. In summary. Puppet is a declarative language, where you describe a desired state of your system (not how to achieve it). So when it compiles manifests code to catalogue, it tries to establish order in which resources should be realized...

I think there are multiple solutions. 1: write a simple script, for example while sleep 1; do lsof -n|grep /var/lib/dpkg/lock >>/var/log/dpkglocktmp.log; done. It is simple, but not very beautiful, but as a short-time bugtracking, it is to me okay. You will get the list of the processes in a log...

The algorithm used by Debian tools to compare package versions is described in the Debian Policy Manual: https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version In short: within the upstream version of the package version (which is what you're describing here), each numeric "segment" of the version number is compared separately, and the first pair that differs...

This is happening because the apt repository is not yet updated, it is common practice to clean your apt repositories and tmp files after creating an image, which your base image is probably doing. To fix this, you are going to want to run apt-get update prior to installing git,...

The versions method gives you the list of all available versions. You then have to select one specific version to print the description. For example, for the vim package import apt cache = apt.Cache() pkg = cache['vim'] versions = pkg.versions print versions[0].description ...

With the amazing help of @PadraicCunningham I managed to find the solution. The problem turned out to be that heroku-buildpack-apt installs things in a newly created folder /app/.apt/ which was not in the PYTHONPATH. So I added the relevant folder to my PYTHONPATH on heroku as follows: heroku config:add PYTHONPATH=/app/.apt/usr/lib/python2.7/dist-packages/...

You could check their bash history, but it could be nothing shows up there. Other option would be to hook into the apt-get command. Make a symlink for apt-get cd /usr/bin ln -s apt-get apt-get1 in /etc/profile you can change global bash settings. Catch the apt-get command there and replace...

sudo apt-get install libzbar-dev sudo pip install zbar It is usually a -dev package that you are missing when you get those kind of errors, an easy way to find the package is apt-cache search like below: ~$ apt-cache search zbar libbarcode-zbar-perl - bar code scanner and decoder (Perl bindings)...

You are not supposed to use Ubuntu repositories in Debian. Package version may conflict and many other things can go wrong. At your own risk, you can still try to do that. The closest Ubuntu version to Wheezy is 13.10. So first, remove the ppa you just installed: sudo ppa-purge...