Questions tagged [dpkg]

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.

169 questions
0
votes
2 answers

How to enable sysstat from shell script in Ubuntu?

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 shell script, what command I can use?
Howard
  • 2,005
  • 11
  • 47
  • 70
0
votes
1 answer

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 |…
Martin
  • 332
  • 3
  • 10
  • 28
0
votes
2 answers

Filesystem owner changed by mistake

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?
Ehsan
  • 250
  • 1
  • 6
0
votes
1 answer

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/ squeeze-backports/main amd64 Packages *** 2:1.2.6-1…
Natim
  • 616
  • 1
  • 6
  • 16
0
votes
1 answer

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 php5-mysqlnd. It caused some errors with dpkg, so I…
Ian Hunter
  • 207
  • 3
  • 11
0
votes
1 answer

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 corrupted. My question is, should I use dpkg's…
sirlark
  • 211
  • 2
  • 12
0
votes
1 answer

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) ... dpkg: error processing…
artem
  • 596
  • 2
  • 10
  • 28
0
votes
1 answer

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 sudo apt-get install -f (I get a message: E: DPKG…
Ubuntu User
  • 71
  • 2
  • 3
  • 11
0
votes
3 answers

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. Here's the console output of an attempt to…
Craig Otis
  • 287
  • 1
  • 3
  • 11
0
votes
1 answer

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 package lists... Done Building dependency tree Reading…
williamsowen
  • 1,157
  • 3
  • 16
  • 24
0
votes
3 answers

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 correctly (downloading), however cannot finish the…
Alexander
  • 207
  • 1
  • 3
  • 11
0
votes
3 answers

Apt getting wrong nginx source

I'm working on updating Nginx on my server from 0.7.65 (Ubuntu 10.04 repo) to 1.0.2 (from the PPA). I installed it just fine, but I would like to add/activate some modules. I found this tutorial for doing it with dpkg, which works well for ensuring…
Shauna
  • 178
  • 1
  • 7
0
votes
1 answer

dpkg -get-selections command not working on Ubuntu

I am trying to use the gpkg -get-selections command on Ubuntu. I am kind of new to Ubuntu and really just following a tutorial on how to properly install Tomcat :)\ The tutorial is…
Genadinik
  • 1,083
  • 4
  • 18
  • 38
0
votes
3 answers

How can I repair apt / dpkg?

Apt keeps crashing when I try to run apt-get upgrade xxx@xxx:/root/# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-generic…
glisignoli
  • 123
  • 1
  • 2
  • 14
0
votes
1 answer

How to remove junglediskserver

I need to remove junglediscserver from my server. I installed it using the .deb file they provide and not apt-get so I'm not sure how to remove it. I tried apt-get junglediskserver remove as root and it says directories are not empty so they…
Ben
  • 3,630
  • 17
  • 62
  • 93