Jump to content
An Old School Catholic Message Board

linux users


photosynthesis

Recommended Posts

puellapaschalis

When you run Yast you're effectively doing so as root; it asks for the root pw when it starts.

And...no, that file's not there. Any ideas on where I could get it from? The 11.0 repositories?

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633021' date='Aug 20 2008, 06:22 PM']When you run Yast you're effectively doing so as root; it asks for the root pw when it starts.[/quote]

Ok. Just making sure.

[quote name='puellapaschalis' post='1633021' date='Aug 20 2008, 06:22 PM']And...no, that file's not there. Any ideas on where I could get it from? The 11.0 repositories?[/quote]

Unfortunately, no. That file is in no repository, because it is your personal record of every single package that you have installed on your system. Without that file, the system has no idea of what packages you have installed, and therefore can't update the system because it doesn't know what RPM packages to update. Some sort of accident caused that file to disappear.

Unfortunately, your only option is to back up your home directory if need be, reformat, and reinstall. Don't worry, it happens to the best of us. I've screwed up my .deb package repository many times.

When you reinstall, make sure that you put your home directory on its own partition so that you don't lose it if you have to reformat again -- you just reformat the other partitions and leave your home partition intact. Let me know if this part is over your head, and I'll cover it in more detail.

Link to comment
Share on other sites

Ok. Real quick. Try this:

[code]$ sudo touch /var/lib/zypp/cache/Source.KvmhCd/DATA/descr/packages[/code]

And then try re-running yast.

Link to comment
Share on other sites

puellapaschalis

That kind of zhooooomed past me, but I'll try your last suggestion first. I appreciate you taking the time to help me with this.

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633041' date='Aug 20 2008, 06:39 PM']That kind of zhooooomed past me, but I'll try your last suggestion first. I appreciate you taking the time to help me with this.[/quote]

Ok. It's always tough to gauge experience level when talking Linux with someone. I'll do my best to explain.

I don't use SuSE, so I can't be certain of this, but this is what I think. The only way that your Linux knows what packages it has installed is because it keeps a list of them. Based on that error message you presented me, I think that SuSE keeps that list in your missing file. Without the list, SuSE has no clue what packages you have installed. Therefore, it doesn't know what to update. Does that make sense?

If the last command doesn't work, then you will be forced to wipe your harddrive and reinstall everything. But, let's take this one step at a time.

Link to comment
Share on other sites

puellapaschalis

Ok, well I tried that last command. I got through launching Software Management without any errors, but I don't think Yast actually read anything from the new repositories because all the "latest" versions of everything were from 2006.

Sigh. Time to copy my home dir onto my usb stick?

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633058' date='Aug 20 2008, 06:55 PM']Ok, well I tried that last command. I got through launching Software Management without any errors, but I don't think Yast actually read anything from the new repositories because all the "latest" versions of everything were from 2006.

Sigh. Time to copy my home dir onto my usb stick?[/quote]

Erm ... do:

[code]mount[/code]

And paste that output here, please.

Link to comment
Share on other sites

puellapaschalis

/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=00
02,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)

(I take it you know what that means lol)

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633068' date='Aug 20 2008, 07:09 PM']/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=00
02,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)

(I take it you know what that means lol)[/quote]


I do, LOL. Noticed a couple of weird things. Continue copying your $homedir, and paste the output of this command for me, please:

[code]cat /etc/fstab[/code]

Link to comment
Share on other sites

puellapaschalis

Sir yes sir! :)

[codebox]/dev/hda6 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
[/codebox]

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633078' date='Aug 20 2008, 07:24 PM']Sir yes sir! :)

[codebox]/dev/hda6 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
[/codebox][/quote]

Ok. That's really weird that you would have an hda1, an hda5, and nothing in between ... (2, 3, 4)

Ok. I was checking to see if you really needed to copy your home directory. Unfortunately, you do need to. There is a way to protect your home directory from getting wiped should you have to reinstall in the future. It requires a small amount of work, but would you like help setting it up when you install this time around? It isn't hard at all, and takes about 30 seconds.

If so, when you get to [url="http://en.opensuse.org/Installation/11.0_Live_CD#Step_3:_Setting_up_your_disk"]this screen[/url] in the installation process (Suggested Partitioning), let me know, and I will help you through there.

Link to comment
Share on other sites

puellapaschalis

There's also a Windows partition on here, would that make any sense?
I'm about to copy my homedir onto the usb stick now. I've got a cd with Suse 11.0 burnt onto it ready to go. When I get to the partition screen...I'm not quite sure how I'll be able to get on Phatmass to ask you about it (seeing as this is my only computer) but I guess I can try!

Link to comment
Share on other sites

[quote name='puellapaschalis' post='1633090' date='Aug 20 2008, 07:34 PM']There's also a Windows partition on here, would that make any sense?[/quote]

Your Windows partition is set to /dev/hda1, by the looks of it, not the partitions at hda2, hda3, or hda4.

[quote]I'm about to copy my homedir onto the usb stick now. I've got a cd with Suse 11.0 burnt onto it ready to go. When I get to the partition screen...I'm not quite sure how I'll be able to get on Phatmass to ask you about it (seeing as this is my only computer) but I guess I can try![/quote]

The install CD should be a LiveCD. In other words, you should still have Konqueror/Firefox/whatever-you-use in order to get on (Konqueror FTW!)

Link to comment
Share on other sites

Lounge Daddy

[quote name='mommas_boy' post='1633005' date='Aug 20 2008, 06:05 PM']Psst. [url="http://www.ubuntu.com"]Ubuntu[/url]. :)[/quote]


Word!

Link to comment
Share on other sites

[quote name='Lounge Daddy' post='1635332' date='Aug 23 2008, 12:53 AM']Word![/quote]

Pho' shizzle, my Ubun-tizzle! :rap:

[url="http://www.youtube.com/watch?v=3lZSMv5Vi-Y"]Hey. Hey, yo. This is bad, yo. I gotta dual-boot my Linux![/url]

Word to the Tux, holmes.

[img]http://tux.crystalxp.net/png/th_2206.jpg[/img]

Edited by mommas_boy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...