Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage Update: No package digest file found / Security Viol
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Wed Aug 27, 2008 2:36 pm    Post subject: Portage Update: No package digest file found / Security Viol Reply with quote

Hallo liebe Community,

ich habe nun ein Problem bezüglich emerge -u world auf einem "etwas älteren" Gentoo-System.

Fangen wir vorne an. Ein emerge --sync hat dafür gesorgt, dass jetzt folgendes erscheint:

Quote:
# emerge portage

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
This profile is deprecated. Please update to 2007.0 or 2008.0 using eselect profile.

Calculating dependencies /
emerge: there are no ebuilds to satisfy "sys-libs/db:4.5".


Ich habe mir schon die Upgrade-Doku http://www.gentoo.org/doc/en/gentoo-upgrading.xml durchgelesen und durchgeführt. Führt Außerdem ist es erst einmal nicht zwingend

Daraufhin habe ich versucht, db zu installieren. Hier kommt aber folgende Fehlermeldung:

Quote:
!!! No package digest file found


Also habe ich anhand der Anleitung http://www.gentoo.org/proj/en/portage/doc/converting-manifest2.xml

Quote:
python /usr/portage/sys-apps/portage/files/manifest221


durchgeführt. Jetzt erhalte ich folgendes:

Quote:
# emerge db

!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
This profile is deprecated. Please update to 2007.0 or 2008.0 using eselect profile.

Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/db-4.5.20_p2 to /
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/db-4.2-jarlocation.patch


Ich komme auf keinen grünen Zweig. Wie kann ich mein System auf den neusten Stand bringen?
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Wed Aug 27, 2008 2:48 pm    Post subject: Reply with quote

Mach mal ein emerge --sync, um den aktuellen Tree zu bekommen. Notfalls einen Snapshot runterladen.

Dann mußt du zunächst mal das Profil aktualisieren (symlink /etc/make.profile). Dann portage aktualisieren, also
Code:
# emerge portage

Für die Pakete, die dazu notwendig sind, muß du die Prüfsummen per Hand erzeugen. Dazu in das Verzeichnis wechseln, wo das ebuild liegt und
Code:
# ebuild <paket.ebuild> digest

ausführen. Wenn es Blocker gibt, dann die neuen Versionen mit emerge --nodeps installieren und ggfs. alte Slots von Hand entfernen.

Wenn portage dann auf dem aktuellen Stand ist, würde ich nochmal ein emerge --sync machen und dann emerge -uavD world. Sollte dann besser gehen.

Viel Spaß ;-)
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Wed Aug 27, 2008 3:19 pm    Post subject: Re: Portage Update: No package digest file found / Security Reply with quote

schmidtsmikey wrote:
ich habe nun ein Problem bezüglich emerge -u world auf einem "etwas älteren" Gentoo-System.

Fangen wir vorne an.

Was verstehst du unter "etwas älter" und welche Version von Portage hast du installiert? Riecht sehr danach, als sei eine Neuinstallation die vernünftigste Variante.
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Wed Aug 27, 2008 4:12 pm    Post subject: Reply with quote

Also, ich habe das Profil auf /usr/portage/profiles/default-linux/amd64/2007.0 gesetzt.

Mit ebuild ... digest konnte ich die Prüfsummen neu erstellen und db und anschließend portage neu installieren. Jetzt geht gar nix mehr :-(

Quote:
# emerge --info
File "/usr/bin/emerge", line 488
result = list(x for x in matches if portage.cpv_getkey(x) == cp)
^
SyntaxError: invalid syntax


Was mir aufgefallen ist: Portage 2.0 wurde aus /usr/lib/ deinstalliert und in /usr/lib64 installiert! Außerdem ist die Installation von Portage 2.1 abgebrochen und trotzdem wurde Portage 2.0 deinstalliert: http://nopaste.php-q.net/43648

Quote:
# uname -a
Linux websrv-bode 2.6.18-gentoo-r2 #1 SMP Wed Nov 15 22:16:50 GMT 2006 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux


Quote:
# ls -n /usr/bin/emerge
lrwxrwxrwx 1 0 0 27 Aug 27 17:02 /usr/bin/emerge -> ../lib64/portage/bin/emerge


Ich habe auch schon von einem 32 als auch 64 Bit System das Verzeichnis /usr/lib/portage an die entsprechende Stelle kopiert. Ohne Erfolg, ich stehe jetzt vor einem Scherbenhaufen!
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2616
Location: Konradsreuth (Germany)

PostPosted: Wed Aug 27, 2008 5:02 pm    Post subject: Reply with quote

Quote:
* If you have an overlay then you should remove **/files/digest-* files
* (Manifest1) because they are no longer supported. If earlier versions
* of portage will be used to generate manifests for your overlay then you
* should add a file named manifest1_obsolete to the root of the repository
* in order to disable generation of the Manifest1 digest files.

Gesyncd? Ausprobiert? Notfalls würde ich mal probieren, eine aktuelle Stage 3 über das System zu bügeln. Die enthält wenigstens ein funktionierendes portage.
Back to top
View user's profile Send private message
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Wed Aug 27, 2008 6:56 pm    Post subject: Reply with quote

Python war veraltet, daher hat Portage 2.1 nicht richtig funktioniert. HAbe es folendermaßen gelöst:

Quote:
# cd /root
# wget http://distfiles.gentoo.org/distfiles/Python-2.4.4.tar.bz2
# tar jxvf Python-2.4.3.tar.bz2
# cd Python-2.4.3
# ./configure
# make
# ./python /usr/bin/emerge python


Jetzt geht alles und ich kann das System updaten. Vielen Dank!
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Wed Aug 27, 2008 8:10 pm    Post subject: Reply with quote

Das händisch installierte Python auf jeden Fall wieder de-installieren, sonst bekommst du Probleme wie hier: https://forums.gentoo.org/viewtopic-t-702860.html
_________________
Inter Deum Et Diabolum Semper Musica Est.
Back to top
View user's profile Send private message
AmonAmarth
l33t
l33t


Joined: 03 Mar 2005
Posts: 727

PostPosted: Thu Aug 28, 2008 4:48 am    Post subject: Reply with quote

Libby wrote:
Dann mußt du zunächst mal das Profil aktualisieren (symlink /etc/make.profile). Dann portage aktualisieren, also
Code:
# emerge portage



zu früh das profil wechseln hat mich zuletzt, bei einem update von einer uralt installation (ca 2 jahre alt), auch in bedrängnis gebracht, das neue profil (2008-desktop)) ist scheinbar nicht kompatibel mit einer ziemlich alten portage version. jedenfalls erschienen jede menge python fehler und ich hab einen halben tag gebraucht um rauszufinden, dass ich _zuerst_ portage updaten muss und dann erst das profil wechseln darf. (das nur mal so als anmerkung....)
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5335

PostPosted: Thu Aug 28, 2008 6:36 am    Post subject: Reply with quote

Necoro wrote:
Das händisch installierte Python auf jeden Fall wieder de-installieren, sonst bekommst du Probleme wie hier: https://forums.gentoo.org/viewtopic-t-702860.html

er hat es ja gar nicht ins system installiert (siehe das fehlende make install ;) ) sondern nur übersetzt und dann direkt aus dem source-tree das programm gestartet (siehe das ./ vor python ;) )
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum