Tag Info

New answers tagged

0

Try saving this script: for package in $(sudo apt-get install catdoc 2>&1 | grep "warning: files list file for package '" | grep -Po "[^'\n ]+'" | grep -Po "[^']+"); do sudo apt-get -y install --reinstall "$package" done Then, execute it with sudo /bin/bash ./scriptname This took a bit of extra work and some other commands too though like ...


0

I wonder why peoply doesn't answer: aptitude search '?tag(protocol::dns)' aptitude search allow complex search queries with probes on different package description fields and logical operators: aptitude search '?tag(game::strategy) ?installed' aptitude search '?tag(protocol::dns) !?installed' Refer to Search term reference in Aptitude User's Manual ...


2

Run this command: cat /etc/apt/apt.conf.d/70debconf to see if you've this file. If so, the solution is to comment out the DPkg line which prevents pre-configuring all packages with debconf before they are installed. So add these commands to your provision file: sudo ex +"%s@DPkg@//DPkg" -cwq /etc/apt/apt.conf.d/70debconf sudo dpkg-reconfigure debconf ...


0

I was trying to reinstall apache2 cause for some reason which I could not fix, it refused to start $ sudo apt-get install apache2 dpkg: unrecoverable fatal error, aborting: syntax error:unknown group 'nagios' in statoverride file Looking into: dpkg/statoverride cat /var/lib/dpkg/statoverride root postdrop 2555 /usr/sbin/postdrop root postdrop 2555 ...



Top 50 recent answers are included