apt-get upgrade --with-new-pkgs (was ... Re: Can't reinstall all Jessie packages.)

2015-10-10 Thread Chris Bannister
On Fri, Oct 09, 2015 at 09:38:39PM -0400, Cindy-Sue Causey wrote: > > Ah, nice catch... "--reinstall". I've used that *in desperate moments* > of things not gelling together. I never had problems with it, but I > can't say that I ever used it on apt. Another one I've seen recently is: apt-get up

Re: Can't reinstall all Jessie packages

2015-10-09 Thread Cindy-Sue Causey
On 10/9/15, Darac Marjal wrote: > On Fri, Oct 09, 2015 at 12:16:35AM +0530, Himanshu Shekhar wrote: >> I may be wrong, but I can suggest three methods: >> 1. (conceptually shouldn't work) : apt-get remove ; apt-get >> install >> 2. (should work...your intentions must break your system): apt-get p

Re: Can't reinstall all Jessie packages

2015-10-09 Thread Darac Marjal
On Fri, Oct 09, 2015 at 12:16:35AM +0530, Himanshu Shekhar wrote: > I may be wrong, but I can suggest three methods: > 1. (conceptually shouldn't work) : apt-get remove ; apt-get > install > 2. (should work...your intentions must break your system): apt-get purge > ; apt-get install That won't w

Re: Can't reinstall all Jessie packages

2015-10-08 Thread David Wright
Quoting maderios (mader...@gmail.com): > I can't reinstall all Jessie packages this way > dpkg -l | awk '/^i/ {print $2}' |xargs apt-get --reinstall install > Reading package lists... Done > Building dependency tree > Reading state information... Done > 0 upgraded, 0 newly installed, 2792 reinsta

Re: Can't reinstall all Jessie packages

2015-10-08 Thread Jayson Willson
If you have Dpkg::Options { "--force-confask"; } in apt.conf, then during dpkg configure you will be always prompted for what to do with configuration files (install version from package/keep old version), even if it is not upgrade, but only reinstallation. Thus if you want to totally r

Re: Can't reinstall all Jessie packages

2015-10-08 Thread Himanshu Shekhar
I may be wrong, but I can suggest three methods: 1. (conceptually shouldn't work) : apt-get remove ; apt-get install 2. (should work...your intentions must break your system): apt-get purge ; apt-get install 3. *(recommended method): dpkg-reconfigure Make sure the methods won't break your syste

Re: Can't reinstall all Jessie packages

2015-10-08 Thread Mario Castelán Castro
Only for curiosity and information: what's the reason you want to reinstall all packages?. If you want to clean the system of garbage or misconfiguration spread around many packages, maybe it would be better for you to reinstall the whole system. Regards.