dpkg is the package format used by Debian, Ubuntu and other popular GNU/Linux distributions as well as the tools used to work with dpkg packages.
0
votes
3answers
35 views
Trying to install package with dpkg - no space on disk
I have an issue with dpkg and disk space. When I installed my pc, I let the installer create partitions using lvm. My rootfs was created at 322MB, now I just have 97M left. The disk is full so there ...
1
vote
2answers
155 views
dpkg: error processing linux-image-amd64
After running
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install -f
dpkg --configure -a
I get the following Error:
dpkg --configure -a
Setting up initramfs-tools (0.112) ...
0
votes
2answers
118 views
dpkg-reconfigure: unable to re-open stdin: No file or directory
I am building a provisioning script for a ubuntu vagrant vm, on a ubuntu host, both 12.10 64bit When installing the following packages:
sudo apt-get -y install php5-xsl graphviz php-pear unison
I ...
0
votes
1answer
21 views
Force apt-get not to upgrade a custom package dkpg [duplicate]
I've created my own deb package for Redis 2.6.11 instead of the very old default version for Ubuntu. All works well except when I do an apt-get upgrade it tries to install what it thinks is the latest ...
0
votes
1answer
55 views
installed post-installation script returned error exit status 1
I found many complains with same error but for different packages. However, i couldn't understand essence of this error and how to fix it. Pls. help if you have any clue about it.
It appeared first ...
0
votes
1answer
38 views
postinst script in hand-rolled .deb reported not found
I had a quick dpkg/debian-izing question. I am trying to create a .deb(by hand - mostly for learning purposes) and I have rolled up an ar-chive with the control.tar.gz, data.tar.gz and the ...
3
votes
1answer
89 views
What to do when local usernames conflict with network usernames
We use Puppet to manage our Linux desktop machines and SSSD to authenticate our users against a central authentication system. Recently when setting up a few new machines we found that puppet was ...
1
vote
2answers
50 views
Search for installed unavailable packages (backports and 3rd party)
I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
0
votes
2answers
64 views
How to enable sysstat from shell script in Ubuntu? [duplicate]
In Ubuntu, I can install sysstat using apt, e.g.
apt-get install sysstat
And then enable it via interactive prompt
dpkg-reconfigure sysstat
But I want automate the process using fully automated ...
1
vote
1answer
207 views
Debian removed /var/lib/dpkg/info/, is there a way to save the system?
Removed accidentally /var/lib/dpkg/info/, now I am having problems with installing/removing packages, it prompts errors, cause can not find the info about installed packages.
Is there any way to ...
0
votes
1answer
42 views
apt-cache under Debian 6.0 displays a packet both as a dependency and conflict at the same time
Could somebody explain how can a syslinux packet both depend on and conflict with syslinux-common:
martin@IBM:~$ dpkg -l syslinux syslinux-common
Desired=Unknown/Install/Remove/Purge/Hold
| ...
2
votes
1answer
49 views
debian, diff, config default
I want to know if is posible to get the diff on the original versus the current config files of installed debian packages.
If found an answers which shows up the modified config files, but I find no ...
0
votes
1answer
309 views
Upgrading nginx-full 1.2.1 to nginx 1.2.6 from PPA on Ubuntu 12.10
I'm trying to upgrade nginx 1.2.1 to version 1.2.6 on ubuntu 12.10, but with no luck. I've previously installed nginx using apt-get install nginx-full because I needed the modules instead of building ...
3
votes
2answers
121 views
What is the yum equivalent of dpkg -L?
dpkg -L lists all the files provided by a package. How is this accomplished in yum?
OS is SL6.
0
votes
2answers
64 views
Filesystem owner changed by mistake [closed]
I ran this command on my ubuntu server 12.04 by mistake:
chown someuser / -R
On RHEL it would be fixed by this command:
rpm --setugids -a
Is there anyway to fix it in ubuntu server?
3
votes
1answer
287 views
Permission Mystery - apt-get and other system utilities have 000 permissions
I'm trying to track down this strange behavoir for years now.
Always after installing software-updates the permissions of a lot of system-tools are broken as you can see below. I am reasonable ...
0
votes
1answer
55 views
Install from backport with apt fail
So little question, I've got this:
redis-server:
Installed: 2:1.2.6-1
Candidate: 2:1.2.6-1
Version table:
2:2.4.15-1~bpo60+2 0
100 http://backports.debian.org/debian-backports/ ...
3
votes
2answers
3k views
dpkg: warning: files list file for package 'x' missing
I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
1
vote
1answer
89 views
Overriding dpkg admindir from apt-get options (debian/ubuntu linux)
As part of an OS deployment, I need to maintain sets of debian packages independently of the host operating system. It's pretty straightforward to override the Apt settings for the cache and lists, ...
3
votes
1answer
122 views
Stopping dpkg from removing symlink on package upgrade
I have a debian package that installs a file to /usr/local/java/jre/lib/ext, where /usr/local/java is a symlink to where the jvm is actually installed, in this case /usr/lib/jvm/java-6-sun.
The new ...
3
votes
1answer
523 views
Chef recipe to install varnish 3.0 on ubuntu lucid?
Here's my problem. I want Varnish 3.0, but Lucid only has the 2.1 package available.
So using Chef, I need to make an install recipe that adds the varnish-cache.org repository to the apt sources and ...
6
votes
2answers
252 views
apt: how to search using package tags?
Some (most?) packages in Debian, have tags. For example:
=# apt-cache show squirrelmail | perl -lne 'print if /^Tag:/.../^\S/'
Tag: implemented-in::php, interface::web, mail::imap, mail::smtp,
...
-1
votes
1answer
779 views
Debian: How to get rid of openoffice/libreoffice?
After upgrade from Squeeze to Wheezy (testing), I end up with few errors when running apt-get upgrade further.
Most of the errors concern openoffice.org and libreoffice, both of which I do not need. ...
1
vote
1answer
1k views
Regarding Reinstalling PostgreSQL
I was using PostgreSQL 8.4. I tried removing it through Synaptic Manager and then I tried to install 9.1, but I still version 8.4. I deleted all the files associated with postgresql. Now I am unable ...
0
votes
1answer
328 views
Can't remove partially-installed extension
I'm on an Ubuntu 11.10 server with PHP 5.4 installed from a PPA. I had the MySQL library installed (php5-mysql) but wanted to try out the native driver (php5-mysqlnd), so I ran sudo apt-get install ...
2
votes
2answers
45 views
generate an automated reinstallation file
Running Debian Lenny distros :
I'm still wondering how to iso a complete distro setup "easily", but for the time being, I'd like to able to run easily and quickly a reinstall, so I added such a line ...
2
votes
1answer
41 views
persist debian package on Ubuntu
I have an Ubuntu server that I recompiled libcurl for sftp support. The problem is when the server is rebooted or updated I have to reinstall the curl package. I am not clear how to persist this ...
0
votes
1answer
370 views
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm getting an error while trying to update the linux-image-2.6.32-5-amd64 package on Debian 6, x64.
Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) ...
Running depmod.
Running ...
4
votes
1answer
58 views
How can I install a third-party .deb package in an arbitrary base dir?
I have a .deb which politely installs itself in /opt. For my purposes I would prefer it acted like a first-class citizen and installed itself in the regular filesystem locations.
Is there a way to do ...
3
votes
2answers
255 views
How to monitor package versions across multiple (Linux) servers
We use Puppet for installing the base level OS and packages, but our own application packages are deployed manually by individual developers.
I'm looking for a web dashboard to view/monitor the ...
0
votes
1answer
48 views
Should i disable triggers when force reinstalling packages in ubuntu (to repair corrupted exectables)
I want to reinstall some selected packages on my ubuntu server (lucid). I'm planning on running cat packages.txt | xargs apt-get --reinstall install to restore some executables I think may have become ...
1
vote
5answers
198 views
How do I get a list of packages that “Provides” something" using dpkg?
I see that dpkg has a "Provides" field for packages.
$ apt-cache show vim-tiny | grep Provides
Provides: editor
$
How do I know which packages provide i.e. "editor"?
0
votes
1answer
211 views
Add dpkg .symbols or.shlibs to package made using checkinstall
I have created a simple package using checkinstall of the Oracle Instantclient client libraries, the package installs without problem and is seen in the system.
Problem is, that checkinstall doesn't ...
2
votes
1answer
412 views
How to config the parameter in puppet sudo module in order to replace the client sudoer?
I'm configuring sudo module in puppet according to this code
class sudo {
package { sudo:
ensure => present,
}
if $operatingsystem == "Ubuntu" {
package { "sudo-ldap":
ensure => ...
0
votes
1answer
225 views
dpkg: error processing <..>
# dpkg -i /var/cache/apt/archives/pve-firmware_1.0-14_all.deb
(Reading database ... 39867 files and directories currently installed.)
Unpacking pve-firmware (from .../pve-firmware_1.0-14_all.deb) ...
...
8
votes
2answers
566 views
Odd behavior of apt-get with post-inst instructions, and .desktop files
We have a number of hand-built (with fpm and jenkins) .deb files in a local Apt repository (reprepro).
These .debs contain a .desktop file that will be picked up by xdg-desktop in a post-inst script.
...
2
votes
1answer
3k views
Installing MySql 5.5 on Debian with the deb package
I'm setting up a debian server as a development server. apt-get gave me everything I need to install, except for mysql 5.5 as this version is still in the experimental branch.
So what I tried to do ...
0
votes
1answer
311 views
UBUNTU - Broken DPKG and Index
Was doing a package update and it ended a process and hung so I rebooted the server and now it will not allow me to perform any more updates.
I tried the following to no avail:
sudo apt-get clean
...
0
votes
0answers
190 views
Error when trying to build nginx with Auth PAM install package on Ubuntu 11.04
I've previously rebuilt the nginx .deb package with the auth_pam module included in Ubuntu 10.04.
Here are the instructions I'm following: ...
0
votes
3answers
641 views
Using apt-get fails due to improperly configured dav_svn.conf file?
We're working on updating one of our internal development servers (running an older version of Ubuntu, 8 or 9 I'd guess), and are encountering errors when upgrading/installing packages using apt-get. ...
7
votes
4answers
705 views
Compute a list of difference between packages installed on two hosts
I just add some problems with my Debian virtual servers and I add to reinstall all of them from scratch. However, I still had access to the old version and I could retrieve the list of installed ...
2
votes
1answer
121 views
How to determine the date a package was installed or updated?
Is there a way to determine the date a package was installed or updated? What's the proper syntax for both rpm and dpkg?
5
votes
2answers
2k views
Can dpkg verify files from an installed package?
With rpm -qV openssh-server I will get a list of files that have changed compared to default.
~$ rpm -qV openssh-server
S.?....T. c /etc/ssh/sshd_config
~$
Can dpkg on Ubuntu do the same?
1
vote
2answers
64 views
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
Does Debian or Ubuntu have a means of logging apt/aptitude commands?
I could also ask the same about yum commands in Redhat?
Do they have a history file?
0
votes
1answer
465 views
Sub-process /usr/bin/dpkg returned an error code
When trying to install phpmyadmin on my Ubuntu instance, I accidentally quit the job midway through.
Now I can't continue it/remove it to start again..
sudo apt-get install phpmyadmin
Reading ...
2
votes
1answer
63 views
Ubuntu compare original package and installed parameters
I'd like to compare the actual config files for, let's say, Apache and the ones provided in the original package.
The purpose is to have a list of modifications since initial installation because I ...
2
votes
1answer
445 views
On a Debian system, how is the 'installed-size' field of the control file used?
One of the fields included in the control file of a .deb package is the 'Installed-Size', which should inform of the final disk occupation (in kB) of the package in question.
My question is when/how ...
1
vote
1answer
176 views
Ubuntu 10.10 unattended grub2 downgrade
I've got to install a few machines with grub legacy on them due to issues with symantec ghost (ghost is a requirement that can't be dropped). i've got a script that prepares machines, but there's a ...
6
votes
2answers
158 views
What is the most easiest way to create a virtual package in debian?
1.) What is the most easiest way to create a "virtual package" in debian?
My problem: I have compiled/installed mysql from source and now need to tell other packages that mysql is already installed ...
0
votes
3answers
1k views
Ubuntu: Cannot apt-get upgrade server, dpkg permission denied even when root?
I've ran a general audit of the system and found that a few packages were aging, such as OpenSSH and related so I went to apt-get update then upgrade.
Unfortunately it seems to get the packages ...