Announcement

Collapse
No announcement yet.

Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

    Hi all!

    When trying to upgrade to Kubuntu 7.10 from 7.04 I encountered very serious problems.

    First of all, I must tell you the background- when I upgraded via GUI, package xine-engine took a very very long time to install--almost an hour and it still wasn't finished. So I decided(dumb dumb dumb :-X :-X) to kill the updater and configure the packages manualy. I did it and when restarting the computer the problems are:

    1.)Kubuntu doesn't seem to have PATHs configured(KDEDIRS, KDEHOME, PATH, LD_LIBRARY_PATH, ), ok i set it manualy, but every time I restart computer the PATHs are not remembered by Kubuntu, and i have to re-set it.

    2.) Cannot find /home/*. by * I mean I can go into the /home/ dir, but there isn't anything in it.
    example:
    Code:
    root@homelinux:~# mount /dev/hda6 /home/
    mount: /dev/hda6 already mounted or /home/ busy
    root@homelinux:~# umount /dev/hda6
    umount: /dev/hda6: not mounted
    root@homelinux:~#
    3.)From all seen it's obvious I can't install Nvidia drivers, but I think as soon I fix these problems this will be a small problem.


    As a desperate man I BEG you to help me fix this awful problem I've made for myself!

    Thanks in advance for all who will help me!

    Matej "jernejovc Repinc

    #2
    Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

    Do you have a GUI at all, or are you running completely from the console?

    Can you post your /etc/fstab here?

    Have you tried running the commands:
    Code:
    sudo apt-get install -f
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update
    and,
    Code:
    sudo apt-get upgrade
    just in case you have a broken/missing package?
    Asus G1S-X3:
    Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

    Comment


      #3
      Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

      No, GUI not present, console only...

      /etc/fstab:
      Code:
      # /etc/fstab: static file system information.
      #
      #
      # <file system> <mount point>  <type> <options>    <dump> <pass>
      
      proc /proc proc defaults 0 0
      # Entry for /dev/hda7 :
      /dev/hda7 / ext3 defaults,errors=remount-ro 0 1
      # Entry for /dev/hda6 :
      /dev/hda6 /home/ ext3 defaults 0 2
      # Entry for /dev/hda1 :
      # Entry for /dev/hda5 :
      #UUID=79a70a08-feff-4767-9291-1c6ba9684064 none swap sw 0 0
      #/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
      
      # Generated by Automatix
      /dev/hda1  /media/hdc1  ntfs-3g defaults,locale=en_US.utf8  0  0
      ## End of Automatix mounted partitions
      
      #Swap--added manually
      /dev/hda5 swap swap defaults 0 0

      Packages seem to be OK:
      Code:
      root@homelinux:~# sudo apt-get install -f
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      root@homelinux:~# sudo dpkg --configure -a
      root@homelinux:~# sudo apt-get update
      root@homelinux:~# sudo apt-get upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      
      root@homelinux:~#

      Comment


        #4
        Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

        You have Automatix installed :P
        Asus G1S-X3:
        Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

        Comment


          #5
          Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

          Yes, used it to mount NTFS partition(of a broken windows installation :P), could this be the problem? But i don't think Automatix has anything to do with this. Am I wrong?

          Comment


            #6
            Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

            I'm not positive, check out this article and see what you think. Many people seem to have a lot of problems using Automatix, I just use the Medibuntu repo. For mounting NTFS partitions, you may want to check into the ntfs-3g and fuse packages, although, Gutsy provides utilities to mount them by default.

            Edit: Does the command
            Code:
            ls ~/
            show anything is in your /home directory?
            Asus G1S-X3:
            Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

            Comment


              #7
              Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

              Code:
              root@homelinux:~# ls ~/
              2008jojjoj.JPG  dead.letter kde-desktop.png           share       tmp-homelinux
              cache-homelinux Desktop   NVIDIA-Linux-x86-100.14.19-pkg1.run socket-homelinux
              root@homelinux:/home# su - matej
              No directory, logging in with HOME=/
              -su: /etc/profile: Permission denied
              -su-3.2$ ls /home/matej/
              ls: /home/matej/: No such file or directory
              -su-3.2$
              Here's the result, first I've done it with root user, it shows the contents of /root, and then when I try as normal user(matej) dir is not found.
              Will read the article ASAP.

              EDIT: Article read, haven't realized that Automatix is THAT bad(i knew it was bad, but that bad)... So what do you think is the best thing to do? Purge Automatix, maybe comment a line in /etc/fstab, or sth else? But I really don't think Automatix is to blame for all of this mess I've made...

              Comment


                #8
                Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                I don't know if Automatix is to blame, just that it may definitely be a contributing factor.

                What does the command
                Code:
                ls /home
                show? Are there any existing directories? If there are, do you have access to your personal data?

                Check your sources.list file (nano /etc/apt/sources.list) and make sure all the repos are for Gutsy. If they're not, use the Ubuntu sources.list generator to generate a list of Gutsy repos and replace your repos with them.

                Update and try uninstalling and reinstalling the kubuntu-desktop, kde-core, and ubuntu-standard packages. Try the following series of commands as well:
                Code:
                sudo apt-get update
                Code:
                sudo apt-get install -f
                Code:
                sudo apt-get autoremove
                Code:
                sudo dpkg --configure -a
                Code:
                sudo apt-get autoclean
                Code:
                sudo apt-get update
                Code:
                sudo apt-get upgrade
                Also, have you tried reconfiguring your xorg.conf file (dpkg-reconfigure xserver-xorg)? If not, do so; select nv (not nvidia) as your video driver, and answer the rest of the questions as best you can, choosing the default answers for everything you're not sure of. Then, when you finish that, type X (capitalized) and see if you get a GUI; if you do, press Ctrl+Alt+Backspace to exit it, and type
                Code:
                /etc/init.d/kdm start
                as root and see if it takes you to KDM's log-in screen.

                Try these basic tasks and see if they help any.
                Asus G1S-X3:
                Intel Core2 Duo T7500, Nvidia GeForce 8600M GT, 4Gb PC2-5300, 320Gb Hitachi 7k320, Linux ( )

                Comment


                  #9
                  Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                  No, can't get to any data that should be mounted on /home/ .
                  Will do all of the commands and see if it will help. Will report later...

                  OK, did all the commands, i had to reinstall a bunch of kde stuff, which was set to autoremove. Now I can start KDM, but can't login, I get the message: "Could not start kstartupconfig. Please check your installation." . When I boot I am prompt to enter root password for maintenance. But if I skip that step, i go to KDM and get the message above. This has to do something with the /home/* not present or unset PATHs(my opinion). What else could it be?

                  Comment


                    #10
                    Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                    I booted Kubuntu 7.04 Live CD and it recognizes my /home/ (dev/hda6) partition, I am able to mount it and R/W to it. Any new ideas anyone?

                    Comment


                      #11
                      Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                      Automatix was / is your problem. There is simply no way around it. Period.
                      There is plenty to read after a search (automatix and upgrading kubuntu) with google.

                      My questions are the following:
                      Do you have relevant data on /home? If yes can you do a backup? Can you do a backup of all your .kde/share/apps files (kontact, configs, mail, calanders, etc)? If so I would just delete .kde from your hoem/username and reinstall a fresh gutsy.
                      Before you do that you could (if you can get into a gui in recovery mode) install aptoncd:
                      http://aptoncd.sourceforge.net/
                      and backup all your apps (you ca choose the ones you want) to a cd or file.
                      You could also follow this guide:
                      http://www.arsgeek.com/?p=564
                      Then when you have finished your new install reinstall aptoncd and retrieve your apps. and do a complete update from adept / synaptic or apt-get.

                      I hope this helps
                      HP Pavilion dv6 core i7 (Main)
                      4 GB Ram
                      Kubuntu 18.10

                      Comment


                        #12
                        Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                        Yes, I have my entire MP3 collection on /home/, all the stuff for school, all pictures, everything. There is also another problem: on / I have a folder called Download, where I have about 10G of data, (once I screwed up, gave more disk space do system and less to /home/ ). Is there really no other way to do the job than reinstalling the whole system?

                        EDIT: hmm, could I store /download/ to my other computer and not partition /home/ in installation? and of course save installed apps and then reinstall it?

                        Comment


                          #13
                          Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                          10GB is only 3 DVDs. Could you burn your downloads to DVDs?

                          Otherwise, is that /home folder (/dev/hda6) full? If there is 10+GB of free space in it, you could copy the contents of /download to hda6, then reinstall over the "/" partition while leaving hda6 to be mounted as /home in the new installation.

                          NOTE: This situation illustrates the reason NOT to put user data in the "/" filesystem! :P


                          Comment


                            #14
                            Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                            Is there really no other way to do the job than reinstalling the whole system?
                            Do you want a clean system? It certainly is faster

                            hmm, could I store /download/ to my other computer and not partition /home/ in installation?
                            Well, depending on your HD size I would always make a separate /home and /data partition. There are many reasons for this , data and setup safety being the main one

                            Something like this:
                            home = 6gig
                            /swap = 1gig
                            / = 10gig
                            /data = as large as possible (ext3 or fat32)

                            You can set this up with gparted live:
                            http://gparted.sourceforge.net/livecd.php

                            Can you not just backup your "downloads" to 2 DVD's?

                            ..and of course save installed apps and then reinstall it?
                            Do you mean using one of the tools I linked you too for your apps. backup and reinstall? Yes, and stay away from automaix
                            HP Pavilion dv6 core i7 (Main)
                            4 GB Ram
                            Kubuntu 18.10

                            Comment


                              #15
                              Re: Kubuntu upgrade from 7.04 to 7.10 gone terribly bad...

                              Yes, I could backup /download to 2DVDs, but I think it's faster just to copy all /download/ to my laptop

                              Well I'll probably do a fresh install, leave all the data on /home/ (if I can remember you have option in the installer not to format certain partiton, am I correct?), move /download/ to laptop, before that of course I'll use the tools
                              My partition table:
                              / 26.3 GB
                              /home/ 17.5 GB
                              swap 1G
                              windows 28G(yeah yeah, I know, but they don't work since I changed motherboard )
                              Do you think this is ok?

                              Comment

                              Working...
                              X