[OT] Debian reinstall...?

View: New views
10 Messages — Rating Filter:   Alert me  

[OT] Debian reinstall...?

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello folkis!
   Sorry for this, but is there a way to do something like:
aptitude reinstall all
   and the system reinstalls every package, that its database tells it, is on
the computer.
   I just shredded my system a bit yesterday, removed part of /usr/lib. I fixed
it via the dirty road, but now I'd like to clean up.
   So I'd like the system to reinstall all packages, currectly there.
   thanks in advance for any good idea on this!
   Warm regards
          Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Joel Roth-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 04, 2009 at 12:49:14PM +0200, Julien Claassen wrote:
> Hello folkis!
>    Sorry for this, but is there a way to do something like:
> aptitude reinstall all
>    and the system reinstalls every package, that its database tells it, is on
> the computer.
>    I just shredded my system a bit yesterday, removed part of /usr/lib. I fixed
> it via the dirty road, but now I'd like to clean up.
>    So I'd like the system to reinstall all packages, currectly there.
>    thanks in advance for any good idea on this!

This might do it for you, Julien. I imagine it will be quite
time consuming...

dpkg --get-selections | awk '{print $1}' | xargs apt-get --yes --reinstall install


>    Warm regards
>           Julien
--
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Erik de Castro Lopo-10 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Julien,

I'm not sure how to do that for every package, but for a single
package you could do:

    apt-get install --reinstall <pkgnam>

To find which packages are damaged and require re-installing you
could run:

    debsums -s

HTH,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by sem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Julien Claassen skrev:

> Hello folkis!
>    Sorry for this, but is there a way to do something like:
> aptitude reinstall all
>    and the system reinstalls every package, that its database tells it, is on
> the computer.
>    I just shredded my system a bit yesterday, removed part of /usr/lib. I fixed
> it via the dirty road, but now I'd like to clean up.
>    So I'd like the system to reinstall all packages, currectly there.
>    thanks in advance for any good idea on this!
>    Warm regards
>           Julien
>
> --------
> Music was my first love and it will be my last (John Miles)
>
> ======== FIND MY WEB-PROJECT AT: ========
> http://ltsb.sourceforge.net
> the Linux TextBased Studio guide
> ======= AND MY PERSONAL PAGES AT: =======
> http://www.juliencoder.de
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@...
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>  
Hi Julien

Can you use this anyhow ?

http://www.debiantutorials.org/home-page-mainmenu-1

Best regards
Sv-e
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Erik!
   Thanks, I'll try that.
   Kindest regards
         Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nice one, Joel! That's why I love my Linux... :-)
   Warm regards
          Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Joel Roth-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 04, 2009 at 09:11:56PM +1000, Erik de Castro Lopo wrote:

> Julien,
>
> I'm not sure how to do that for every package, but for a single
> package you could do:
>
>     apt-get install --reinstall <pkgnam>
>
> To find which packages are damaged and require re-installing you
> could run:
>
>     debsums -s

This looks interesting, but has some requirements my system
doesn't seem to meet:

        debsums -s
        debsums: no md5sums for at
        debsums: no md5sums for binutils
        debsums: no md5sums for bzip2
        debsums: no md5sums for cdda2wav
        ...

 

> HTH,
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user@...
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

--
Joel Roth
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by James Cameron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And another one I recently discovered ... particularly relevant with
Debian where you could have a system that's been running for over a
decade ... grandfather's axe has had five new handles and two new heads,
but we still call it grandfather's axe ... is apt-show-versions ...
which can tell you what packages you are running that are *not* in the
current distribution.  Those ones will be harder to reinstall ... you
have to find them in the archives, or remove the packages.

Oh, and backups are good ... backups you can recover from that is.  ;-)

--
James Cameron    mailto:quozl@...     http://quozl.netrek.org/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by James Cameron :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jul 04, 2009 at 01:22:16AM -1000, Joel Roth wrote:
> This looks interesting, but has some requirements my system
> doesn't seem to meet:
>
> debsums -s
> debsums: no md5sums for at
> debsums: no md5sums for binutils
> debsums: no md5sums for bzip2
> debsums: no md5sums for cdda2wav
> ...

You'll get this if the /var/lib/dpkg/info/$PACKAGENAME.md5sums file for
the package is missing.  This might be caused by either very old
packages, or missing files in /var/lib/dpkg/info ... You might try
reinstalling the package.  The command

        debsums --list-missing

will show you which packages have no md5sums file.  I've detected a few
just now, and they turned out to be old packages no longer available.

debsums is also potentially useful for detecting simplistic replacement
of files that may have been done maliciously.  Which is another way of
saying that if you are intending to be malicious you might also re-write
the md5sums file as well.  ;-(

--
James Cameron    mailto:quozl@...     http://quozl.netrek.org/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Re: [OT] Debian reinstall...?

by Julien Claassen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Svend!
   The site itself looks useable enough. And it seems there are some helpful
article among the big heap. Thanks!
   Kindest regards
          Julien

--------
Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
http://www.juliencoder.de
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@...
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user