BlogBlog ÜbersichtjailscriptportsoptFreeBSDLinksThermoskanneKontakt

Port auf einen älteren Stand zurücksetzen mit portdowngrade

Nachdem ich Sunbird auf 0.3a1 aktualisierte, waren alle Termine verschwunden und Sunbird weigerte sich standhaft die Termine zu importieren. Also musste die alte Sunbird Version wieder her.

Deshalb gleich sysutils/portdowngrade installiert:

# cd /usr/ports/sysutils/portdowngrade && make install clean

Sunbird deinstalliert:

# pkg_deinstall -f linux-sunbird

Und dann deskutils/linux-sunbird wieder auf den alten Stand gebracht:

# setenv CVSROOT :pserver:anoncvs@anoncvs2.de.FreeBSD.org:/home/ncvs
# cvs login
Logging in to :pserver:anoncvs@anoncvs2.de.freebsd.org:2401/home/ncvs
CVS password: anoncvs
# portdowngrade linux-sunbird

portdowngrade 0.6 by Heiner Eichmann
Please note, that nothing is changed in the ports tree
unless it is explicitly permitted in step 6!

Seeking port linux-sunbird ... found: deskutils/linux-sunbird

Step 1: Checking out port from CVS repository
CVS root directory (from CVSROOT environment variable): :pserver:anoncvs@anoncvs2.de.FreeBSD.org:/home/ncvs

Step 2: Reading the port history from the CVS repository

Step 3: Analyzing the port history from the CVS repository

Step 4: Load port version numbers and present results
Keys: space : next page d : details
p : previous page
enter : leave presentation and downdgrade if wanted
===================================================================================================================================================================================================
number date portversion comment
1 2005/12/07 13:13:31 0.3a1_1 - Update to 0.3a1
2 2005/06/17 22:59:27 0.2_1 Mega-patch to cleanup the ports infrastructure regarding our linux bits:
3 2005/03/01 22:24:25 0.2 new port: misc/linux-sunbird

Total lines: 3. Command: [Enter]
Enter version number to change port to (0: exit): 2


Step 5: Checking out choosen date of the port from the CVS repository

Step 6: Modifying the port
Port: deskutils/linux-sunbird
at : 2005/06/17 22:59:27
Type 'yes' to bring the port to the state of the date above
or 'no' to exit without changing anything. Note, that this only changes
the port, not the installed software! yes or no:yes

The port has been set to the selected version. Install it if you wish.
If you have portupgrade installed, you should run

portsdb -Uu

now, to see the changes in the ports database. In any case

portupgrade -f linux-sunbird

will install the changed port. Note: if you run cvsup, the port
is changed back to the choosen label!

Danach linux-sunbird wieder installiert und alle Termine waren wieder da.

# cd /usr/ports/deskutils/linux-sunbird && make install clean

UPDATE 05.02.2007:

portdowngrade wurde von sysutils in die neue Kategorie ports-mgmt verschoben. portdowngrade kann nun wie folgt installiert werden:

# cd /usr/ports/ports-mgmt/portdowngrade && make install clean
Related Entries:
FreeBSD-Portbaum auf Fehler überprüfen
FreeBSD-Dokumentation auf bekannte Fehler prüfen
Abhängigkeiten eines Portes als Baum anzeigen
Tinderbox aufräumen
Wartezeit von tinderd ändern
Comments (2)  Permalink

Comments

Alain @ 20.02.2007 09:03 CEST
Hmm, Login no workie here:

public# setenv CVSROOT :pserver:anoncvs@anoncvs2.de.FreeBSD.org:/home/ncvs
public# cvs login
Logging in to :pserver:anoncvs@anoncvs2.de.freebsd.org:2401/home/ncvs
CVS password:
cvs [login aborted]: connect to anoncvs2.de.FreeBSD.org(131.246.89.30):2401 failed: Connection refused
public#
Alain @ 20.02.2007 09:07 CEST
anoncvs.de.freebsd.org scheint zu funken, hier noch mehr doku

add a comment

The Trackback URL to this post is:
http://www.chruetertee.ch/blog/plugin=trackback(215).xml
Trackbacks are moderated.

This blog is gravatar enabled.
Your email adress will never be published.
Comment spam will be deleted!

Name*
E-Mail
For Spammers Only
URL
Comment*
Notify me via E-Mail when new comments are made to this entry
Remember me (needs cookies)