fsck doesn't change anything hmm


What a man did and how he succeed, but it is complicated and dangerous I guess, I think that I will do a re-install one of these days and it will be ok.
I make an approx translation for understanding here.

La solution ultime / the ultimate solution
(celle par laquelle je suis passé)
plusieurs étapes :
i/ faire une sauvegarde de la liste des paquets / Save the package list

# mkdir /root/SAUVEGARDE
# dpkg --get-selections > /root/SAUVEGARDE/liste_paquets


et de tous les fichiers de conf, au cas où ca se passe mal ... / And of conf files in case something is going wrong...

# cp -R /var/log /var/cache/{debconf,apt/archives} /var/lib/dpkg/{info,parts,alternatives,methods,updates} /root/SAUVEGARDE


(là on a sauvé la liste des paquets que l'on avait d'installé sur le systeme) / At this point we saved the list of the packages we have installed on the system

ii/ on vire ces fichiers / dossiers. / Remove the files / directories

# rm -rf /var/log /var/cache/{debconf,apt/archives} /var/lib/dpkg/{info,parts,alternatives,methods,updates}



iii/surtout on ne s'arrete pas ici : en ce moment, le systeme pense qu'il n'y a rien d'installé....ce qui n'est pas terrible...
donc on recrée les fameux dossiers, vides :
Important to not stop here as at this time the system thinks that nothing is installed... this is not very good...
So we create back the empty directories


# mkdir /var/log /var/cache/{debconf,apt/archives} /var/lib/dpkg/{info,parts,alternatives,methods,updates}


il faut ensuite recréer le fichier status de base.
on édite /var/lib/dpkg/status et on y entre juste une entrée très simplifiée de la libc6

Then you have to create the basic status file
Edit /var/lib/dpkg/status and make just one entry very simple of the libc6

Package: libc6
Status: install ok installed
Version: 2.3.1-9




ensuite on remet apt-get a jour et on fait un dist-upgrade. Ca va lamentablement merder a la fin, mais c'est juste pour télécharger les paquets de base nécessaires sur la machine.

Then update apt-get and make a dist-upgrade. It will fail at the end but the aim is just to download the necessary basics packages on the computer

# apt-get update
# apt-get dist-upgrade


On réinstalle les paquets de base histoire uniquement de les remettre dans la base d'apt :

Re-install the basic packages just to put them back in the data base of apt

# dpkg --clear-avail
# apt-get update
# apt-get dist-upgrade
# cd /var/cache/apt/archives
# dpkg -i libncurses*
# dpkg -i perl-base*
# dpkg -i libstdc++*
# dpkg -i dselect*
# dpkg -i dpkg*


et on re-enregistre libc6 dans la base : / and re-record libc6 in the base


# apt-get install --reinstall libc6


et on se refait un coup des paquets de base de la distrib : / And one time more the basic packages of the distribution

# apt-get dist-upgrade



iv/ Il ne reste plus qu'a tout "reinstaller" (en réalité, ca sert surtout a tout re-rentrer dans la base de configuration de dpkg) grâce à la sauvegarde de la liste de paquets précédente...

Then there is just to "re-install" everything thanks to the precedent save of the packages list (in reality it is just useful to re-enter everything in the config data base of dpkg)

# apt-get --set-selections < /root/SAUVEGARDE/liste_paquets



J'ai du ensuite broder un peu pour la derniere étape, downgrader certains paquets pour les reinstaller plus tard, ou autre, mais avec certaines indications dans la konsole, ca devrait etre explicite.
en tout cas, à reserver à la "derniere chance"

Then I had to make some adjustments during the last step, downgrade some packages to re-install them later or other, but with some indications in the terminal it should be explicit.
Anyway this is to do as a last chance try

Bon courage si qqn a besoin de ca un jour....
Good luck if anybody need this one day...

Thanks I will try this.
I have found also a forum (in french) where somebody has this problem and made some complex operations to repair. It looks quiet hazardous... but he won against the computer big_smile
I will show you when I am back home.

The changes are not automatics in the menu. You have to edit the menu.xml in preference/openbox config or use the GUI menu editor. It is easier to begin I guess.

So this is what appends when I do a sudo apt-get upgrade :

Everything is ok till it ask me if I want to continue (the first line I quoted)

Souhaitez-vous continuer [O/n] ? o
Extraction des modèles depuis les paquets : 100%
Préconfiguration des paquets...
(Lecture de la base de données... E: Sub-process /usr/bin/dpkg received a segmentation fault.

Translation

Do you want to continue [Y/n] ? y
Extraction of models from the packages : 100%
Preconfiguration of packages...
(reading of the data base.... The famous sentence that I don't understand

I tried to do an upgrade via synaptic. Whatever the package I try to upgrade it fails for the same reason (synaptic give me the exact same sentence that the last line I quoted)

dpkg is to upgrade also and it fails even if I try this one alone.

Ok, thanks, I check this tonight.

Alon_h I will do it this evening when I am back home wink

jobester wrote:

(I don't know anything about this but): when I searched the error on Google I saw three different causes.  One was it tried to update a package (sudo) in the wrong order.  Second was something about clearing available memory or rebooting because of RAM.  Third was a dpkg file for the package (galeon) needed a small edit.

I suggest marking all of them, then uncheck 20.  If that doesn't work try again and uncheck the other 20.  I'm expecting if you keep cutting them down in half, the error package shall correctly install when there isn't a bunch of other ones at the same time.

I think I've had this happen to me before maybe a few months ago.

I tried to search things on google but I didn't find a real solution. I will try to upgrade the packages not in the same time to see what appends, but I am not sure to know how to do. Since now I only use sudo apt-get update + sudo apt-get upgrade (also tried aptitude with same result) so I never choose what have to be upgrade or not. I can do it with synaptic I guess ?

I confirm that I don't over-clock, or it is totally involuntary big_smile

I thought it could be one of the package that have a matter, but I don't know which one (there are about 40 package to upgrade). And even if I knew which one it is I don't know how to upgrade all the packages except this one.

When I try to do an upgrade I have this message:

"E: Sub-process /usr/bin/dpkg received a segmentation fault."

So no upgrade at all is done. How can I solve this ?

59

(126 replies, posted in Off Topic / General Chat)

Exactly myself big_smile

http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/hp-ux.jpg

Right it was this big_smile
Ok, I will do it when I am back to home, it can be useful in the future...

Personnaly I had some repair to do 2-3 times because it doesn't want to start anymore and checkdisck didn't want to work. It asked me my password and it doesn't worked. I tried also my password as if I had a qwerty keyboard nothing appens. I had to launch a live session and fix it from there.

62

(32 replies, posted in News & Announcements)

I don't realy understand but I guess it is a good news big_smile

63

(22 replies, posted in Off Topic / General Chat)

Canada won \o/

Leffe, Affligem, these kind of Belgian beers tongue

I am using x-mark that have a plugin for firefox so my bookmarks are up to date on all my computers.

66

(22 replies, posted in Off Topic / General Chat)

klanger wrote:
blackbinary wrote:

no TV.

yeah, life&world is so peaceful without TV smile

It is given with my Internet connection so I have it. But it is true it takes a lot of time in fact to watch it big_smile

67

(22 replies, posted in Off Topic / General Chat)

I like to see the hokey but here in Europe with 9h of difference it is not easy:P

68

(2,564 replies, posted in Tips, Tricks & Scripts)

You make super+ space
Preferences
Openbox config
Edit rc.xml

then you find this part of code and replace firfox by the command to launch the browser you want.

<keybind key="W-w">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Web Browser</name>
        </startupnotify>
        <command>firefox</command>
      </action>
    </keybind>

For me pcmanfm is ok too. Just the matter of the research which is very very bad. I like catfish but I don't know if it is possible to make them interact (I mean using catfish when you launch a search in pcman)

http://www.speedtest.net/result/703443557.png

But it is on my netbook with wi-fi, maybe it changes something on the other computer big_smile

Edit : no it does'nt change anything. So why surfing is slower on my netbook ? It is the power of my computer which is lmiting the speed I guess.

Some Photographic books and comics big_smile

Kookaburra wrote:
Nicky wrote:

I have that in my conky:

Bureau ${color red}${exec wmctrl -d | grep \* | awk '{print $10}'}

but for this to work you need to install wmctrl by "sudo apt-get wmctrl" in a terminal.

For info "bureau" just mean desktop in french

I love it, thanks !
J'aime beaucoup, merci big_smile

wink

De rien wink

benj1 wrote:
Nicky wrote:

Right, it works tongue

I am far to be a specialist, I adapted the command from another one to do what I wanted but I don't understand everything big_smile

don't worry about it, i quite like awk so i see things like that all the time

if your interested this is quite a good resource for awk
http://awk.info/?index

Thanks, I put it in my to read list smile

Right, it works tongue

I am far to be a specialist, I adapted the command from another one to do what I wanted but I don't understand everything big_smile

I have that in my conky:

Bureau ${color red}${exec wmctrl -d | grep \* | awk '{print $10}'}

but for this to work you need to install wmctrl by "sudo apt-get wmctrl" in a terminal.

For info "bureau" just mean desktop in french