|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|
|||
4 py-*** packages wouldn't accept uninstall or repair
Hi everybody ! I hope you all are doing well ..
I'm running OpenBSD -current Code:
kern.version=OpenBSD 5.3-current (GENERIC.MP) #161: Mon May 27 10:59:35 MDT 2013 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP Code:
No pkgname in packing-list for py-configobj-4.5.3p3 No pkgname in packing-list for py-twisted-conch-11.1.0 No pkgname in packing-list for py-axiom-0.6.0p3 No pkgname in packing-list for py-crypto-2.6p0 Code:
Absolute name forbidden: /výîùéPÌìxúSa»[¦ã±4¼äþ"{ó®àààþGSÊzdá; at /usr/libdata/perl5/OpenBSD/PackingElement.pm line 210, <$fh> line 30, in /var/db/pkg/py-crypto-2.6p0/+CONTENTS, at /usr/libdata/perl5/OpenBSD/PackingList.pm line 306, <$fh> line 30. Code:
Fatal error: package py-twisted-conch-11.1.0 is missing a @name in plist at /usr/libdata/perl5/OpenBSD/Delete.pm line 99. |
|
|||
Hi Teacher jggimi !
Thank you ! I once had ratpoison damaged (this time no fsck repairs and no unclean shutdown) .. when I less ./+CONTENTS it says the file is binary (=damaged) Maybe a foolish idea to solve the problem but I wonder : having a similar disk , same kern.version , same laptop , can I just copy and paste the respective +CONTENTS of the 4 damaged packages to get them working again ? otherwise is there a solution for such a problem ? |
|
|||
I had trouble on a test system going from OpenBSD 5.2 to 5.3.
Several of the packages would not upgrade as my /var/pkg/db was damaged. So I decided to just delete all packages and the database and start over. Here are the steps I took. 1) Try to delete all packages: #pkg_delete /var/db/pkg/* 2) For those packages that will not uninstall (damaged), download the package tar files from an OpenBSD ftp site and try re-installing them: $ftp ftp.openbsd.org get badpackage1.tgz get badpackage2.tgz .... #pkg_add -r -D badpackage1.tgz #pkg_add -r -D badpackage2.tgz ... 3) After the "bad" packages are reinstalled, delete all packages again: #pkg_delete /var/db/pkg/* 4) Now the database should be empty (undamaged) and you can reinstall all packages. |
|
|||
Hi comet--berkeley and thanks for the post !
unfortunately : Code:
# pkg_add -r -D update py-twisted-conch-11.1.0.tgz |No change in quirks-1.82Use of uninitialized value in string eq at /usr/libdata/perl5/OpenBSD/Signature.pm line 98. Use of uninitialized value $_ in hash element at /usr/libdata/perl5/OpenBSD/PackageName.pm line 51. Use of uninitialized value $_ in pattern match (m//) at /usr/libdata/perl5/OpenBSD/PackageName.pm line 57. Can't locate object method "compare" via package "OpenBSD::PackageName::Stem" at /usr/libdata/perl5/OpenBSD/Signature.pm line 135. Last edited by daemonfowl; 4th June 2013 at 02:27 PM. |
|
|||
Hi jggimi and thanks again for your constant Being-for-others ..
Code:
+CONTENTS +DESC +REQUIRED_BY +REQUIRING when I did a pkg_add -r -D update py-twisted it gave back lenthy error messages about bad checksums etc .. all I did afterwards is a pkg_delete -q for all 4 packages et voila :-) Code:
pkg_info | grep py- py-epsilon-0.6.0p2 small utility package for Divmod projects py-openssl-0.13 Python interface to the OpenSSL library py-setuptools-0.6.11p5v0 simplified packaging system for Python modules py-sqlite2-2.6.0p3 SQLite3 adapter for Python py-twisted-core-11.1.0 event-based Python framework (core module) py-zopeinterface-3.6.1p2 object interface infrastructure from Zope 3 |
|
|||
lol !
You're right Teacher ! I wanted to say : it was an unskillful way of solving the problem (thinking of grandpa when trying to put things into order ) .. :-) .. Thanks again jggimi and comet--berkeley ! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Public WiFi and accept screens | phyro | OpenBSD Installation and Upgrading | 10 | 10th January 2013 09:36 PM |
Oracle gives 21 (new) reasons to uninstall Java | J65nko | News | 0 | 18th February 2011 09:57 PM |
How to get 'make' to accept all defaults for dependent packages | Xeon | FreeBSD Ports and Packages | 1 | 12th February 2009 01:54 AM |
uninstall xorg libraries for a server | adrian_m | FreeBSD Ports and Packages | 1 | 26th January 2009 11:01 PM |
Laptop Repair | DrJ | General Hardware | 4 | 25th August 2008 02:30 PM |