Questions about the management of packages, in particular the `dpkg` system.

learn more… | top users | synonyms (4)

28
votes
2answers
789 views

What precautions should I take with .debs I find on the internet?

So I was browsing the web the other day, and I came across a few places that wanted me to download .deb files - and since those are installed by root (and as such have the "powers" and capabilities of ...
19
votes
2answers
28k views

Exclude packages from `apt-get upgrade` [duplicate]

Possible Duplicate: How to prevent updating of a specific package? Keep the Ubuntu package version I'm using now Is it possible to upgrade all packages except a given package? Is ...
18
votes
5answers
46k views

How to completely remove a oracle jdk that didn't install properly?

I recently installed a oracle jdk from a webupd8ppa on Ubuntu 12.04 beta, but apparently it didn't work out, and now it is giving me errors at every update or install I make, even after deactivating ...
16
votes
1answer
11k views

How to create a deb package that installs a series of files

I would like to create a brand new deb package to install series of files. If at all possible, I would like to untar the folder containing these files as part of the installation into a known folder ...
44
votes
1answer
2k views

What is Ubuntu's policy on keeping old kernels

I've just run out of disk space on /. Looking into the situation I realised that since first installing 12.04, Ubuntu has upgraded the kernel ~23 times and has kept every old kernel, binaries and ...
13
votes
1answer
4k views

Is there a Ubuntu sanity check

Is there a standard procedure to 'unit test' an Ubuntu system against the deb packages? Assume, a system has ubuntu-desktop installed according to the package manager. Can I find out, whether the ...
12
votes
1answer
10k views

How do I check only security updates from the command-line?

Is there a way to quickly check for the availability of security updates from the command line? On my 12.04 system running apt-get update fetches 20MB of data about available packages every time I ...
23
votes
3answers
17k views

How do you see what packages are available for update

FreeBSD user joining your ranks. I've been asked to look after an Ubuntu Server running 10.04 LTS. I see from /usr/lib/update-notifier/update-motd-updates-available that there are a number of ...
11
votes
6answers
2k views

Finding out what package a command came from

Is there a generalised way to find out what package caused the installation of a command?
20
votes
5answers
11k views

How do I find out which repository a package comes from?

Is there a method or command which can tell from which repository a package is coming from?
17
votes
1answer
909 views

How can I find out why a package was installed?

How can I find out why a particular package was installed? Is it part of the default installation? Was it specified manually, or was it chosen automatically to meet dependencies? Which packages are ...
15
votes
4answers
17k views

How do I add the kernel PPA?

I can get Ubuntu mainline kernels from this kernel PPA - is there a way to add it to my repository list the same as regular Launchpad PPAs?
11
votes
5answers
2k views

Syncing apt-get installations between multiple computers

Is there a way to synchronize my installations (and removals) between multiple PCs? Preferably with dropbox - since I'm already using that to keep my files in sync. I thought of an alias for the ...
9
votes
3answers
1k views

How can I make a live CD/DVD from my harddisk installation?

How can I make a live CD/DVD from my harddisk installation? In other words, I would like to create a boot CD from Ubuntu that is installed on my PC, because I want to include the updated packages in ...
10
votes
1answer
4k views

Keep only essential packages

In an attempt to learn more about Ubuntu and its packages, I want to remove all non-essential packages, so I can install what I need, when I need them and know what they do. I'm using the commands ...
4
votes
5answers
1k views

Why not all Linux packages/software come in .deb format? [closed]

A .deb package is very easy to install, just like .exe in Windows, simply double click and install via USC. I wonder why some developers choose formats like .tar.gz (it scares the hell out of me) ...
8
votes
2answers
354 views

How do I get security updates for restricted/partner packages?

I want to perform just security updates on Ubuntu 12.04 LTS, keeping the rest of the system unchanged. I need to do this from the command line, no the GUI update manager. I have implemented the ...
6
votes
5answers
8k views

Install packages without internet

How do I install ubuntu packages from the ubuntu cd. I have ubuntu-desktop 10.04 running and I have to install wvdial package but no internet connection for installing from apt repository.
4
votes
1answer
12k views

How do I restore default settings and configuration, but keep local data, installed apps, and PPAs?

I'm fairly new to Ubuntu and while messing around with different things and trying out some shells, I've managed to mess my system up. Specifically I really messed up my GNOME session and can't get it ...
3
votes
2answers
4k views

Is it better to compile from source or to install from a .deb package?

Sometimes, when downloading software from the Internet, I find that there is a .deb package ready for either my Debian/Ubuntu and also a tarball to be compiled. In the beginning I would simply use the ...
1
vote
5answers
13k views

How do I install turbo c++?

I am used to Turbo C++ and I am new to Ubuntu. I really need Turbo C++ to get started. Can somebody please help me to install Turbo C++ on Ubuntu.
1
vote
5answers
8k views

Wine installation not completing due to held broken packages

I'm running Ubuntu 12.04 64bit and I want to install wine. This is the output of sudo apt-get install wine: Reading package lists... Done Building dependency tree Reading state ...
13
votes
5answers
960 views

zsh man page documentation missing in packages?

I have a newly installed xubuntu 13.10 x64. I decided to install zsh via synaptic and make it my default shell. The installed zsh's version is: zsh 5.0.2 (x86_64-pc-linux-gnu). The installed zsh ...
7
votes
2answers
109 views

How can you suggest the addition of a new package?

This bug has had a solution proposed in comment 4 which involves the addition of a new package to the system. How would I bring this to the attention of the developers?
6
votes
3answers
12k views

How to remove/install a package that is not fully installed?

I went to install bsnes the other day and for whatever reason the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this ...
4
votes
6answers
3k views

download.01.org certificate verification failed - CRLfile missing?

So I had intel-Linux-graphics-installer on my computer but lately when I sudo apt-get update I get the following error Err https://download.01.org trusty/main amd64 Packages ...
4
votes
1answer
3k views

Broken dependencies after upgrade

After an apt-get upgrade I got the following error: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
4
votes
1answer
2k views

I can't update, upgrade and remove my app from kubuntu

I have a problem upgrading software. I can't update, upgrade or remove my software. The notification of update manager signs 46 security packets and 83 other packets and when I click on it to install ...
4
votes
2answers
406 views

Any way to list similar commands?

When you write the command name wrong, bash often does this: septi@norbert:~$ good No command 'good' found, did you mean: Command 'gold' from package 'binutils' (main) Command 'gmod' from package ...
4
votes
2answers
2k views

How do I install packages without using a package manager?

I would like to know how to install .deb packages without using a package manager such as dpkg. Is it possible to do this? What files do I have to edit? Or is there a unique procedure for each ...
4
votes
1answer
1k views

getting error message Package operation failed

while installing any softwere or update i am getting this error installArchives() failed: dpkg: error: parsing file '/var/lib/dpkg/available' near line 0: field name ...
3
votes
3answers
8k views

Is there a standalone version of soapUI for Linux?

I want to run soapUI on Ubuntu 11.10. If I am not able to install via the package manager, I'd prefer not to install at all, and instead run as a standalone application. Looking at the soapUI download ...
3
votes
4answers
3k views

How to remove all associated files and configuration settings of an app installed through 'force architecture' command

A few weeks ago I installed a 32 bit .deb file through the 'force architecture' command (on my 64bit notebook), however the procedure was unsuccessful and I used the apt-get purgecommand to uninstall ...
3
votes
1answer
4k views

Installation of a package to a custom directory

Is there any option to install a package to my home directory (or /foo) instead of system wide ? I am looking for options using apt-get or dpkg. Something similar to --prefix in a source compile. ...
2
votes
1answer
1k views

“But is referred to by another package.” - Finding that package

It is not unusual for an Ubuntu (or other distro with apt package management) user to encounter the error: user@box ~ $ sudo apt-get install x [sudo] password for user: Reading package lists... Done ...
2
votes
2answers
2k views

Is Not Installed (Residual config) safe to remove all?

In Synaptic Manager I noticed I had a lot of packages in that list, and was wondering if any shouldn't be removed for some reason? Or if that is all safe to be removed. Is it possible that some should ...
2
votes
2answers
4k views

inxi installation on ubuntu

I have migrated from Linux Mint to Ubuntu 64(KDE installed). I want check my hardware with inxi -F command but it returns : inxi: command not found and as I want to install inxi (sudo apt-get install ...
1
vote
5answers
1k views

How to install programs on other Ubuntu machines without using the Internet

I have several computers running Ubuntu. I also have a slow Internet connection. If I install programs using apt-get, does that put installation files somewhere which I can access, so that I can use ...
0
votes
1answer
2k views

sudo apt-get install -f doesn't fix broken packages. And now?

$ sudo apt-get install -f [sudo] password for ...: Lendo listas de pacotes... Pronto Construindo árvore de dependências Lendo informação de estado... Pronto Corrigindo dependências... Pronto Os ...
8
votes
5answers
4k views

How to fix a dpkg broken by the Brother MFC-7340 deb driver

I'm getting an apt-get error that says E: The package brmfc7340lpr needs to be reinstalled, but I can't find an archive for it. The brmfc7340lpr is a printer driver -- it's a local deb file. Doing a ...
6
votes
4answers
17k views

How to reinstall a package

I am getting this while installing libebml3: Errors were encountered while processing: libebml3:i386 Error in function: dpkg: error processing libebml3:i386 (--configure): Package is in a very bad ...
6
votes
3answers
305 views

Installing packages in multiple systems

I have to install some packages in 5 Ubuntu system in my office. There, bandwidth is limited. So, is there any way to install it in one system & copy to other, so that all works fine? All systems ...
4
votes
1answer
2k views

How can I use LaunchPad.net packages in 11.04?

LaunchPad.net is a fantastic repository of packages, and one that I use often to install packages that are not included in the main repository. Thus far, I've always simply browsed to a package page ...
3
votes
1answer
251 views

What can I do if Synaptic can't get the latest version of software?

I'm using Synaptic for package management on Ubuntu 12, and am currently trying to get the newest version of SWIG - 2.0.9. My currently installed package swig in Synaptic is version 2.0.7-3ubuntu1. I ...
3
votes
4answers
17k views

installing “ia32-libs” problem - Ubuntu 12.10 x64

I'm trying to install ia32-libs and i tried nearly all commands to install this package but always i got an error. Here is what i've tried so far; sudo apt-get install ia32libs orkun@ubuntu:~$ sudo ...
2
votes
2answers
2k views

How do i configure the live usb to install additional packages?

I have saved all the packages from the directory /var/cat/apt/archives to Usb. Is it possible to configure the live Usb to accommodate all these extra packages /var/cache/apt/archives; so that it ...
1
vote
1answer
62 views

Safe to remove entries in 12.04 sources.list?

Recently, every time I have run sudo apt-get update with 12.04 Precise there have been two 404's (note: I don't have the rep to post more than 2 links, so I've removed the 'http://' from the URLs ...
1
vote
4answers
4k views

Package operation failed Errors were encountered while processing: xserver-common-lts-raring [duplicate]

Before starting with my problem description, I would like to say that this is my very first time using Ubuntu or anything related to Linux! Now my question! I have installed the very last ...
0
votes
1answer
232 views

Override Distro Package with Custom Package?

Ubuntu 12.04 LTS provides OpenSSL 1.0.1e, but it disables TLSv1.1 and TLSv1.2. In the past it was an interop decision because of broken client implementations. In 2014, its really not appropriate ...
0
votes
2answers
5k views

MySQL server stopped working after upgrade [duplicate]

Possible Duplicate: Fixing broken myslq-server package after upgrade to 12.04 I upgraded to 12.04 and my MySQL server just stopped working. It throws: ERROR 2002 (HY000): Can't connect to ...