emoenke schrieb:...Dem Namen nach sollten aber
apt-0.5.15repomd060302-0.suse1000.rb1.i586.rpm
apt-libs-0.5.15repomd060302-0.suse1000.rb1.i586.rpm
aus http://ftp.gwdg.de/pub/linux/misc/apt4rpm/10.0/
repomd-tauglich sein.
Alright apt lovers,
I received the email below earlier this week:
A word of warning: this is probably the biggest change apt-rpm has seen
since the 0.3.x -> 0.5.x codebase switch, it's an incomplete and very
much work-in-progress version and is sure to contain bugs.
If that didn't scary you away: here's a snapshot of my bleeding edge
branch, now with repomd support (you know the repository metadata which
eg Fedora uses...):
http://laiskiainen.org/apt/testing/apt-repomd-01032006.tar.bz2
To go with it there's also a patch to add repomd support to synaptic
(currently svn head only, but can and will rediff against latest
released version if people want) in the directory.
I've been using this for updating my own main box for a couple of weeks
now, hasn't eaten it alive but take care. There are various known
caveats and not-implemented-yet things, at least the following from the
top of my head:
- Package and repository checksums are not verified at all: apt uses
md5sums "natively" whereas repomd uses sha1, needs a bit of abstracting
out. Neither are *that* big a deal in practise - rpm wont install a
malformed package (and you probably want to use GPG checker lua-plugin
anyway), and a broken mirror might cause some interesting effects (I
haven't encountered any yet though)
- Not all file dependencies can be solved. Currently only the data in
primary.xml file is processed, and while that already covers most
typical file dependencies, there are at least a few dependencies in FC4
which would need filelists.xml information. Will get to this eventually.
- Repomd.xml is downloaded but not really used for anything yet (see
above the bit about checksums)
- apt-cache doesn't show full dependency information for packages,
another work-in-progress thingy
- It eats gobs of memory and probably leaks quite a bit of it
- Source repositories of repomd type are not yet supported
- The code is still in middle of heavy reorganization to better support
different repository models without duplicating tons of code
So, it has it's shortcomings but it sure leaves the competition far away
in dust when it comes to speed, even in it's current totally unoptimized
state.
Oh and there's a new sources.list entry format for this, as there are no
such things as "sections" in repomd, so it's just
repomd <base url> <distribution>
For example (each entry on a single line of course) for Fedora Core +
Extras:
repomd http://download.fedora.redhat.com/pub/
fedora/linux/core/$(VERSION)/$(ARCH)/os
repomd http://download.fedora.redhat.com/pub/
fedora/linux/extras/$(VERSION)/$(ARCH)/
I'd like some more eyes on this - when testing, watch out for them
little things like incorrect filesizes, odd looking dependencies and
such. The code will still change quite a bit but those little details
are important to get right already. Note that this also means "native"
apt repositories - that code has seen quite a few changes as well in
this process (and yes, mixing old style rpm repos and repomd is supposed
to work without glitches)
---------------------------------------------------
I could of course not let this pass by without creating rpms of it. They are
present in the suser-rbos apt component:
http://linux01.gwdg.de/apt4rpm/freshrpms/suse100.html
They work for regular apt functionality. I have not tested the repomd
functionality. So if you want to live on the edge of suse here is your
change, test apt repomd support and let's us know how it goes!!!
--
Richard Bos
Without a home the journey is endless
MrEye schrieb:eben das war mein fehler, die anderen rpm's nicht zu sichern, jetzt kann ich nix mehr über apt installieren...kommt immer diese Fehlermeldung, anscheinen ist die bekannt hier im forum:
Code:dhcppc1:/home/tony # apt update /usr/bin/apt: line 123: 21962 Speicherzugriffsfehler apt-get $ARG dhcppc1:/home/tony #
oc2pus schrieb:emoenke schrieb:...Dem Namen nach sollten aber
apt-0.5.15repomd060302-0.suse1000.rb1.i586.rpm
apt-libs-0.5.15repomd060302-0.suse1000.rb1.i586.rpm
aus http://ftp.gwdg.de/pub/linux/misc/apt4rpm/10.0/
repomd-tauglich sein.
die sind alpha ... also bitte die 10.1er neu compilieren
MrEye schrieb:hab jetzt das 10.0 apt-libs und apt repomd installiert, apt geht jetzt wieder..und nimmt auch die in der sources.list eingetragenen repomds an...
dhcppc1:/home/tony # apt policy apt
apt:
Installiert: 0.5.15repomd060302-0.suse1000.rb1
Kandidat: 0.5.15repomd060302-0.suse1000.rb1
Versionstabelle:
*** 0.5.15repomd060302-0.suse1000.rb1 0
100 RPM Database
0.5.15cnc7-6 0
500 ftp://ftp.gwdg.de SuSE/10.0-i386/base pkglist
dhcppc1:/home/tony # apt install apt=0.5.15cnc7-6
Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
Die folgenden Pakete werden DOWNGRADED:
apt
0 upgraded, 0 newly installed, 1 downgegradet, 0 entfernt und 147 nicht upgegradet.
Muss 306kB an Archiven holen.
Nach dem Auspacken werden 167kB Plattenplatz freigegeben werden.
Wollen Sie fortsetzen? [J/n] j
Hole:1 ftp://ftp.gwdg.de SuSE/10.0-i386/base apt 0.5.15cnc7-6 [306kB]
306kB in 3s (101kB/s) geholt
Checking GPG signatures...
Committing changes...
Preparing... ########################################### [100%]
1:apt ########################################### [100%]
Done.
dhcppc1:/home/tony # apt policy apt-libs
apt-libs:
Installiert: 0.5.15repomd060302-0.suse1000.rb1
Kandidat: 0.5.15repomd060302-0.suse1000.rb1
Versionstabelle:
*** 0.5.15repomd060302-0.suse1000.rb1 0
100 RPM Database
0.5.15cnc7-6 0
500 ftp://ftp.gwdg.de SuSE/10.0-i386/base pkglist
dhcppc1:/home/tony # apt install apt-libs=0.5.15cnc7-6
apt-get: Symbol `_ZTV16pkgAcquireStatus' has different size in shared object, consider re-linking
Lese Paketlisten... Fertig
Erzeuge Abhängigkeitsbaum... Fertig
Die folgenden Pakete werden DOWNGRADED:
apt-libs
0 upgraded, 0 newly installed, 1 downgegradet, 0 entfernt und 147 nicht upgegradet.
Muss 363kB an Archiven holen.
Nach dem Auspacken werden 49,3kB Plattenplatz freigegeben werden.
Wollen Sie fortsetzen? [J/n] j
Ignoriere ftp://ftp.gwdg.de SuSE/10.0-i386/base apt-libs 0.5.15cnc7-6
Committing changes...
Preparing... ########################################### [100%]
1:apt-libs ########################################### [100%]
Updating etc/sysconfig/autoupdate...
Done.
emoenke schrieb:...Die sind nicht Alpha. Das ist seit dem 3. März die offizielle 10.0-Version von Richard Bos.
dhcppc1:/home/tony # apt policy apt
apt:
Installiert: 0.5.15cnc7-6
Kandidat: 0.5.15cnc7-6
Versionstabelle:
*** 0.5.15cnc7-6 0
500 ftp://ftp.gwdg.de SuSE/10.0-i386/base pkglist
100 RPM Database
dhcppc1:/home/tony # apt policy apt-libs
apt-libs:
Installiert: 0.5.15cnc7-6
Kandidat: 0.5.15cnc7-6
Versionstabelle:
*** 0.5.15cnc7-6 0
500 ftp://ftp.gwdg.de SuSE/10.0-i386/base pkglist
100 RPM Database
Lohnt es sich Kynaptic auszuprobieren? - Oder geht das auch nicht?oc2pus schrieb:(synaptic geht aber mit dieser apt-lib NICHT!)
oc2pus schrieb:emoenke schrieb:...Die sind nicht Alpha. Das ist seit dem 3. März die offizielle 10.0-Version von Richard Bos.
die "normale" apt-Funktionalität ist in Ordnung (synaptic geht aber mit dieser apt-lib NICHT!)
oc2pus schrieb:die repomd-Funktionalität ist alpha.... ist das jetzt klarer ?
klar, aber wer hat wirklich SuSE-repomd in den letzten Monaten getestet mit apt ?emoenke schrieb:...
Soo alpha wird die repomd-Funktionalität nicht sein. Der Test-Aufruf ist 3 Monate alt, und es gibt keine Bug-Reports und auch kein neueres Paket....
oc2pus schrieb:aber schön das Richard die Pakete auch für 10.0 erstellt. Dann ist dieses Thema auch vom Tisch. Wie immer gilt, erst mal warten und dann richten die suser-* das schon :mrgreen:
Don't look at the stupid target name 'standard'. The webinterface let me
create a target without name, and named it 'standard'...
Currently trying 10.0_i586....