This a command-line program for handling packages on linux.

learn more… | top users | synonyms

0
votes
0answers
5 views

How to convert a Debian package into a homebrew formula?

There's a Debian package I'm interested in for which no homebrew formula yet exists. How can I convert a *.deb package file into a homebrew formula? (FWIW, the Debian package I'm interested in is ...
0
votes
1answer
13 views

Installing a specific glibc version on debian/apt

A user of my software uses Debian wheezy. The software generated a core dump that I want to analyze. However, for this to work, I require the correct versions of low level system libraries, especially ...
2
votes
2answers
4k views

How to download and install specific version of sun-java6-jdk on ubuntu

I am using Ubuntu version 12.04 (via VM) I downloaded and installed java: sudo apt-get install python-software-properties sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" ...
0
votes
1answer
2k views

“No X11 DISPLAY variable was set” error - Amazon EC2 / SSH

I'm trying to install APT on an Amazon EC2 through PuTTY. I've uploaded APT, found here, and followed these instructions to install. However, when I run sh install-linux64-apt.sh in the proper ...
1
vote
1answer
57 views

apt pinning several packages in one section

Say I have a section in /etc/apt/preferences: Package: m4 Pin: release a=lenny-backports Pin-Priority: 1000 How do I add several packages more instead of copying a section again and specifying a ...
1
vote
1answer
139 views

How can I fix this apt kernal-image state?

The update manager hung during a recent Ubuntu update and I had to kill it. This left a couple of lock files in /var/... which I deleted. I now have a lot of scary errors. If I run dpkg --configure ...
0
votes
1answer
11 views

How to fix ppa-purge error Release '<distribution>' for '<package>' was not found

ppa-purge is a nice tool that may save your configuration if you have install a ppa that messed with your system by installing new packages that you didn't want. Unfortunately, ppa-purge didn't work ...
0
votes
1answer
10 views

Debian: escape spaces in APT pin

I'm running Debian Wheezy on a Raspberry Pi and want to have both the Raspbian repo at http://mirrordirector.raspbian.org/raspbian/ (for the OS) and the RPi Foundation repo at ...
0
votes
0answers
38 views

How can I find the gparted package in debian?

I recently upgraded my chromebook c710-2856's hard drive to a 250GB drive and flashed coreboot on it. I then proceeded to install debian wheezy with LXDE. I want to install gparted, and when I do: # ...
0
votes
2answers
2k views

downgrading packages in debian

I have Debian stable disribution installed on my computer. Once I installed some packages from testing but now it causes some troubles so I would like to downgrade them. I've tried next commands: ...
0
votes
0answers
33 views

Allow user to install packages using puppet

I need to allow some users to install packages on their systems, and the whole system is being managed by puppet. I have this file: #modules/polkit/manifests/init.pp define polkit( # ...
0
votes
1answer
17 views

Prevent apt-get from updating a package

I compiled vim with some specific options and don't want it to be updated by apt-get as I need to recompile it always. How could you do that?
1
vote
0answers
19 views

Run a script after a package is upgraded automatically

I made a script that modifies chromium-browser package, but when it was upgraded, the modification was lost, and I have to run the script again manually. Is there a method to make apt run this script ...
0
votes
1answer
20 views

What is the difference between rcl and beta5

I was reading a apt package managing tutorial and came across the acronym RCL. What does it stand for? The tutorial says if you download the source from debian unstable and compile and install on ...
0
votes
0answers
18 views

Why apt-get stops without showing any error?

I am trying this command sudo apt-get install fenics/testing Reading package lists... Done Building dependency tree Reading state information... Done It is supposed to install fenics with ...
3
votes
2answers
6k views

Ignore all dependencies for a specific package with apt-get

This is a very specific question which google didn't help answering. I'm running Ubuntu 13.04 with apt 0.9.7.7ubuntu4 for amd64 compiled on Oct 3 2013 15:25:56. I want to install Erlang from a .deb ...
1
vote
1answer
72 views

Error on apt update: unable to connect to ftp.it.debian.org:http:

I have Debian Wheezy with kernel 3.2.0-3-amd64. Suddenly, from this morning (I'm italian), it's impossibile to correctly update the system via apt-get update. The system hangs on backport mirror deb ...
0
votes
0answers
8 views

Equivalent of apt urgency flag in yum changelog?

I develop a cross distribution package manager, and i want to get the urgency of all updates on APT et YUM based distributions. With APT, it's simple, I have to fetch the changelog with apt-get ...
0
votes
0answers
19 views

How to block the installation of unsigned packages in Debian by default?

I was wondering which option in apt.conf will block by default the installation of packages with invalid signatures. I'm using Debian Wheezy 7.6 Thanks!
0
votes
1answer
19 views

Availability of new apt syntax

I've noticed on Ubuntu >= 14.04, it is possible to use such syntax as apt install mypackage, no longer requiring use of the traditional set of apt tools like apt-get and apt-cache. Not only is the ...
0
votes
1answer
284 views

Do online repositories for ubuntu/mint releases disappear after it goes out of support?

I'm using Linux Mint 13 (Nadia), which is based on Ubuntu 12.04 (Quantal), which went out of support since May 2014. I'm getting 404's when I try to update or install any package. After googling I ...
0
votes
1answer
108 views

'apt-get install' ignores my specification to install particular version of package

I'd like to install particular version of libstd++6 with following command: # apt-get install libstdc++6=4.9.0-8 -V Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
87 views

apt-get: use alternative sources.list

In my /etc/apt/sources.list I have: deb http://http.debian.net/debian wheezy main deb-src http://http.debian.net/debian wheezy main Now I need to get source of a package from jessie (testing). How ...
1
vote
1answer
87 views

Where I can find a repository for an old version of Ubuntu [duplicate]

I am using raring and just noticed that I can't install packages any more (404). I checked a couple repositories and raring is not there. Turns out it's been EOL'd, at barely 10 months old, it seems a ...
2
votes
1answer
238 views

Debian: Version number of installed package differ from those in repository causing dependency issues

I can't install libav-dbg due to dependency issues with version numbers of installed packages, that do not correspond to those in the repository. How is this possible, and how can i resolve the issue? ...
6
votes
3answers
4k views

Test if a package is installed in APT

I want a shell script method to test/report if a package is installed. I don't need details, only boolean return to set logic flow. I looked at Find if a package is installed, but dpkg returns complex ...
0
votes
2answers
597 views

Debian: updating package lists with apt-offline, --simulate not understood for apt-get update

I can't use apt-offline to update my package lists, which means that I will get many 404s when trying to install older versions of packages that it thinks it's downloading from the .sig file it ...
0
votes
1answer
41 views

Finding nearest-top-level recommended packages for a particular Debian package

I am in the process of building a live CD, and to reduce the size of the CD image I need to do without some packages. By default, recommended packages are installed and flipping that switch off turns ...
2
votes
1answer
75 views

How to list installed packages that depend on another installed package in Debian?

I am on Debian (testing). How can I list all installed packages that depend on another installed package? I would prefer to do this using either dpkg or apt, but if another tool (or combination of ...
9
votes
2answers
3k views

How to tell apt that dependencies are resolved manually?

Let's say there is a software I don't want to install through apt, but manually. (TeXLive, because I want to use the 2011 release and apt only has the 2009 version.) Let's say there is another ...
0
votes
0answers
47 views

List all install packages and sort by installed/updated date

I've install a lot of packages before, both useful and useless. This made me result back to Windows. Unfortunately, I had to return back to Ubuntu since for some technical difficulties. Anyways, ...
0
votes
1answer
570 views

Downgrade GCC to older versions with apt-get

For specific reasons, I have to downgrade my GCC to version 2.x using apt-get (not downloading and compiling the source). Is that possible? If yes, how can I find the repository address and install ...
5
votes
1answer
168 views

Upgrade from 10.04 to 12.04: apt/aptitude debug information

I have an issue mentioned here: during update from 10.04 to 12.04 The workaround: apt-get -f install -o APT::Immediate-Configure=false python-minimal seems to work, but there are two problems with ...
27
votes
2answers
20k views

How can I check the version of packages to be installed with apt-get?

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be ...
1
vote
1answer
207 views

Linux force scripted add-apt-repository

I have a script that adds a repository with add-apt-repository <repo-info> Is there a way to not prompt the user (such as with a -y flag, though that doesn't seem to work on Ubuntu 10.10)
0
votes
1answer
2k views

Installing Chromium on Debian Wheezy

I'm currently trying to install Chromium in Debian Wheezy. When I try sudo apt-get install chromium, I get the following error message: The following packages have unmet dependencies: chromium : ...
1
vote
2answers
98 views

Automated apt-get upgrade quits midway

I set root's cron to automatically run apt-get upgrade. Easy enough. Here's the specific line: @daily (apt-get update && apt-get -y upgrade) 2>&1 > /var/log/tmp.log However, I've ...
1
vote
2answers
418 views

Automatic update to 3.1.0 beta (2014-03-28 r65330) on Ubuntu 12.04

I am re-asking this question on behalf of ECII who originally asked it on stackoverflow but which got shut down: ...
1
vote
0answers
73 views

After debian downgrade all packages are in local or obsolete

I have weird problem: because, after downgrading from Debian jessie (testing) to wheezy (stable) - by changing sources.lost. Apt-get don't want to downgrade packages, but they are in Installed (local ...
1
vote
0answers
295 views

apt-get update still doesn't find autoconf

I'm using Debian Squeeze, was trying to update automake and then in the process of configuring found that autoconf was too old. Trying to install autoconf, I get this: apt-get install autoconf ...
0
votes
3answers
2k views

apt can't install or fully remove gcc

I recently did a fresh install of Ubuntu, I got into a mess trying to install gcc-4.8, I've tried a few different things and now I'm stuck trying to get back to where I started. #> sudo apt-get ...
0
votes
1answer
70 views

How to install APT on Debian Linux

I've uninstalled APT due to A LOT of issues, but it seems that I can't install it again. Can someone please help me? I'm running Linux kali 3.12-kali1-amd64 #1 SMP Debian 3.12.6-2kali1 (2014-01-06) ...
1
vote
0answers
11 views

How to know if there's a newer package available in deb-src repo?

I added a deb-src line in /etc/apt/sources.list file, and build some of the packages from that repo using apt-get source -b $package_name. Now how can I know if there's a newer version available in ...
0
votes
1answer
483 views

Can't find openvswitch-brcompat on ubuntu 13.10

Like title says...and if I look into kernel modules I just find openvswitch.ko. I am on ubuntu 13.10 and I installed openvswitch-controller openvswitch-switch openvswitch-datapath-source ...
0
votes
1answer
77 views

ruby1.9.3 links to ruby1.9.1 in Debian Wheezy after install with aptitude

I have just attempted to install ruby1.9.3 with aptitude but for some odd reason it keeps symlinking /usr/bin/ruby1.9.3 to /usr/bin/ruby1.9.1. Here are the ruby version in /usr/bin: lrwxrwxrwx 1 ...
2
votes
2answers
880 views

Ignore packages that are not currently installed when using “apt-get remove”

I have a scenario where I'd like to remove a set of packages that may or may not be installed, and I'd like apt-get to remove those that are and silently ignore those that aren't. Something like: ...
0
votes
1answer
129 views

debian install package bittwist

I am trying to install package bittwist on debian 7.4. Im linux newbie. Synaptic does not display this package. In sources.list i have line with us repository: deb http://http.us.debian.org/debian/ ...
0
votes
2answers
1k views

Debian is saying that i'm out of space when ever i try to install or remove packages

here's the return from df: ~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/debian-root 321041 310074 0 100% / udev 10240 ...
1
vote
1answer
92 views

Switching the source for the packages

Previous, my sources were these: deb http://http.kali.org/kali kali main non-free contrib deb-src http://http.kali.org/kali kali main non-free contrib I changed them to point to these: deb ...
0
votes
1answer
596 views

debian apt error Could not open file

When I issued apt-get build-dep openoffice.org I got the error as below: apt-get build-dep openoffice.org Reading package lists... Done Building dependency tree Reading state information... ...