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

learn more… | top users | synonyms

0
votes
0answers
3 views

APT: Usage of apt-sortpkgs command

Well the title says it all pretty much. Can someone show me an example of: apt-sortpkgs I 've read the documentation but I can't understand what it means by "index files"... should I have this ...
0
votes
0answers
8 views

Is there a progress indicator for apt-get under Raspbian/Minibian? [on hold]

When packages are being downloaded via apt-get, there is a nice progress indicator at the bottom of the terminal. How come there is no progress indicator when it is selecting/unpacking/setting up the ...
1
vote
0answers
22 views

Can't install libpq-dev on debian wheezy

I already have deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main in my /etc/apt/sources.list file. I have tried to follow the dependency trail but I have reached a dead end. This is how ...
1
vote
1answer
2k views

Dependencies problems installing openjdk on Ubuntu

I try to install openjdk-7-jre: sudo apt-get install openjdk-7-jre But I have dependencies problems: Reading package lists... Done Building dependency tree Reading state information... ...
1
vote
1answer
44 views

Apt doesn’t seem to update package sources when attempting to install Mono on Ubuntu 14.04

I’m currently tinkering with Ubuntu 14.04 LTS in a virtual machine. I have been having success with getting my Samba server set up correctly and I have also set up my FTP service. So the next thing I ...
1
vote
1answer
148 views

What mean “precise” in apt sources.list entry

I tried to find an answer on the Internet but only thing that I found is that it determines architecture but it not seems logical. So what dose “precise” mean in follow line? deb ...
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
106 views

How to install VLC 2.1 on Linux Mint 17?

I've tried this after running the following commands on my Linux Mint 17 box: sudo apt-get remove --purge vlc* sudo add-apt-repository ppa:videolan/stable-daily sudo apt-get update sudo apt-get ...
2
votes
2answers
51 views

How to download .deb package and all dependencies?

For all answers i found about this topic, the solution was to create, in a certain computer A where i need to install the package, a file containing all dependencies it needs and then downloading it ...
2
votes
2answers
37 views

List of recently installed apt packages

I just spent an hour trying to solve dependencies to build freeCAD from their slightly outdated Wiki. Is there a way to get the packages I installed in the last hour or day with apt-get or aptitude? ...
0
votes
1answer
71 views

What I'm doing wrong with this Wacom Driver installation?

I'm trying to install Linux Wacom Drivers on Lubuntu 14 (32bit) but they never work on my Motion LE 1700 Tablet PC. This a computer/tablet, the pen is detected directly on the screen and is not ...
1
vote
1answer
119 views

How to use SSH “dynamic forward” (-D) to apt-get update/install on a box behind a VPN? Is it possible?

I got an ubuntu server box jailed behind a VPN. The gateway somehow patches the certificates, so all my https connections show up "failed" $ curl https://www.google.com curl: (60) SSL certificate ...
0
votes
0answers
26 views

IBus apparently installed itself without my intervention, how do I investigate?

Just now when I booted Ubuntu/KDE, I noticed a "US" icon in the tray which I'm pretty sure wasn't there before. Right-click > About gives me a dialog which says IBus 1.5.8 IBus is an ...
0
votes
1answer
17 views

Moving dpkg to foreground during confirmation screen glitch

I was doing a routine apt-get update && apt-get upgrade on my server. The dpkg program displayed a dialog box about a package that had updated its default ini file. I wanted the new file, but ...
0
votes
2answers
74 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 ...
1
vote
1answer
13 views

Finding base packages with APT?

This has been bugging me for a while now. If I want to install the xfce desktop environment for example, I can use apt-cache search xfce - but this gives me 500 results, when all im looking for is ...
1
vote
1answer
56 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
199 views

sudo apt-get update is not updating repositories in Debian Wheezy

I am trying to update repositories using following command but it is failing: sudo apt-get update Here is the output of above command: Hit http://dl.google.com stable Release.gpg Hit ...
0
votes
1answer
291 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
0answers
23 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
3k 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
60 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 ...
2
votes
1answer
639 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
53 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
35 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
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
52 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
22 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
21 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
23 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
36 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 ...
4
votes
2answers
9k 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
217 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
9 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
1answer
22 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
683 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
191 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
108 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
108 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
367 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
5k 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 ...
1
vote
2answers
751 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
42 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
108 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
4k 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
58 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
688 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
188 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 ...
28
votes
2answers
21k 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
223 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)