|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
what kind of error is this ?
Hello there !
Each time I pkg_add something , this line annoyingly prints before the rest : No pkgname in packing-list for ratpoison-1.4.4p1 so I'd like to ask you if it reveals any inconsistency or issue .. |
|
||||
Once more, this points to a packing list problem of some kind. Is this the same system where you cannot delete bash? Why do I have to ask?
Since the "perfect newbie" thread hasn't helped, please read the "How to create a Problem Report" section in http://www.openbsd.org/report.html |
|
|||
Thanks for asking jgimmi !!
it's the other successfully upgraded system .. the whole error message : Code:
No pkgname in packing-list for ratpoison-1.4.4p1 install-info: /usr/local/info/dir: empty file system(/usr/bin/install-info, --info-dir=/usr/local/info, --, /usr/local/info/ta r.info) failed: exit(1) |
|
|||
yet another helpful post of @jgimmi's !
Thanks to you , I no longer use release/stable .. and there are always fresh only-current packages to try .. like anki ... :-) Code:
sudo sysctl kern.version kern.version=OpenBSD 5.1-current (GENERIC.MP) #230: Mon Apr 2 12:44:39 MDT 2012 deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP 'which ratpoison' gives '/usr/local/bin/ratpoison .. |
|
||||
And, since I've asked for one thing explicitly, I may as well continue. Please provide:
The results from $ ls -a /var/db/pkg The results from # echo $PKG_PATH The actual command string you are using to get these errors. Please note, if you DON'T provide sufficient information to recreate your problem, no one will be able to recreate your problem. |
|
|||
Quote:
Code:
cat /var/db/pkg/ratpoison-1.4.4p1/+CONTENTS # echo $PKG_PATH ftp://ftp.openbsd.org/pub/OpenBSD/sn...packages/i386/ Last edited by daemonfowl; 8th April 2012 at 07:56 PM. |
|
|||
Quote:
Think of it this way, daemonfowl:
Most members here use this site for searching through the archives. Unless links are explicitly provided connecting information in one thread to another, no complete description of your problem exists, & expecting readers to remember the details of all your hardware & software configurations is unrealistic -- especially six months to a year later. Does this mean more work for you? Yes, but it will also help you frame problems better & help direct you to solving problems yourself. The purpose of this site is to be an aid, not a crutch. You will not learn to become a better adminstrator to your own systems unless you methodically think through (& can justify...) the actions taken. Last edited by ocicat; 8th April 2012 at 05:59 PM. |
|
|||
Thanks Ocicat ! I've always found your remarks and comments useful and productive and maybe you're right in that I 'seem to use the term "newbie" as a way to absolve (myself) of basic responsibilities' .. supplying needed information isn't harmful nor is it a waste of time.
|
|
||||
An "empty" +CONTENTS file indicates, once more, that you have a damaged package database. You now have TWO separate systems with damaged package databases.
Based on all of the information you have been able to share (among your many threads) leads me to the conclusion that something YOU are doing is causing this. What that is, I do not know. Quote:
|
|
||||
I have a wild guess to make about a possible root cause. My guess: you may have been rebooting your systems without a clean shut down, during pkg_add. Power failure, crash, "hang" and hard reboot .... during a period when packages were being installed.
On restart, the fsck -p run by rc(8) would have corrected simple filesystem errors -- see the list at the top of the fsck_ffs(8) man page. If you ran fsck manually, with either -y or responding "yes" to a repair, this can have significant impact on file integrity and may have resulted in this problem. It is just a wild guess, but if fsck has been run on the filesystem housing /var, there will be a "lost+found" directory where recovered file fragments are stored. Inspect those looking for packing lists such as you have seen in the +CONTENTS files. |
|
|||
Hi jgimmi ! thank you and sorry if I've wasted much of your time .
After reading your guess I remembered one more thing : There was a network connection cut while upgrading from ftp .. it occured in the middle of the process (man51.tgz ******* ... ) .. so I had to reboot first on bsd.old to see things and was ok .. then redid the upgrade .. rebooted .. and ran sysmerge -s etc51.tgz -x xetc51.tgz .. then one more reboot as advised .. I have no issues here except the recurring line I inquired about : (this current disk No pkgname in packing-list for ratpoison-1.4.4p1) I still can install packages (and a few needed ports built successfully) |
|
||||
If the number of bytes of the +CONTENTS file is 0, as you indicated, you will not be able to either update or delete ratpoison. This was discussed in your other thread regarding package database errors.
Last edited by jggimi; 9th April 2012 at 09:43 PM. Reason: added referral |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
shc unistd.h:239: error: syntax error before '&' token | laraaj | OpenBSD General | 3 | 11th September 2010 07:21 AM |
help error | darken | FreeBSD General | 1 | 21st September 2008 09:28 PM |
What is the best kind of OpenSSH? | php111 | Other OS | 3 | 3rd June 2008 10:32 PM |
VLC run error | mfaridi | OpenBSD Packages and Ports | 14 | 29th May 2008 05:38 PM |
error kde | darken | FreeBSD General | 1 | 5th May 2008 08:45 PM |