Announcement

Collapse
No announcement yet.

Kubuntu 12.10 does not boot past boot-splash screen after Muon Software Update.

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

  • judedawson
    replied
    While awaiting Steve's follow-up, I took a look at the pastebinit output. From just reading the text, I'm guessing that it checks out OK & that we're ready for the next step.

    Am I right, guys?

    Also, is the correct command-line to install;
    Code:
    sudo apt-get --reinstall kubuntu-desktop
    or is it just;
    Code:
    sudo apt-get install kubuntu-desktop
    <14/02 - Checked an earlier posted thread of a similar problem & confirm it's the second command that's correct>

    Thanks, guys.

    From,
    Jude
    Last edited by judedawson; Feb 14, 2013, 09:00 AM.

    Leave a comment:


  • judedawson
    replied
    Hi Steve,

    Hope you had a great weekend

    I was wondering if there's any good news from the logs of the most recent pastebinit output in step#83.

    Thanks so much

    From,
    Jude

    Leave a comment:


  • judedawson
    replied
    Hi Steve,

    That explains why my kubuntu-desktop is borked! Man, I need to be more careful with PPA upgrades...

    OK, moving on to today's activity;

    1. Outputs for commands
    Code:
    sudo rm /etc/apt/sources.list.d/*.list.save
    sudo rm /etc/apt/sources.list.d/*.list.distUpgrade
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-backports-natty.list
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-backports-oneiric.list
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-ppa-natty.list
    sudo apt-get clean
    sudo apt-get update
    all run smoothly without any error messages.

    2. Outputs for command
    Code:
    apt-get --simulate install --reinstall kubuntu-desktop | tee /dev/tty | pastebinit
    run as it should (I think).

    The last 2 lines of the outputs are;
    Code:
    E: Unable to correct problems, you have held broken packages.
    http://paste.ubuntu.com/1631952
    Thanks again, Steve.

    Almost there, almost...
    _______________________

    I discovered this useful compilation of Linux command-lines today & wanted to share it with command-line newbies like myself;

    http://www.cheatography.com/davechil...-command-line/

    It is by no means exhaustive but I must say, it is a comprehensive list.

    From,
    Jude

    BTW: Gong Xi Fa Chai to those celebrating the Chinese New Year

    Leave a comment:


  • SteveRiley
    replied
    Your sources.list file shows that you're running Quantal. However, the additional repositories pointed to by the files in sources.list.d contain the origin of your problems.

    First, we can eliminate from consideration a number of these files -- APT reads only files ending with .list, so the .list.save and .list.distUpgrade files aren't doing anything. Next, we can eliminate lines beginning with the pound sign, which signifies a comment and means the line is skipped by the parser. Third, we can ignore the repositories for Dropbox, Google Talk, and OpenLP, as these won't contain packages that conflict with the operting system. That leaves us with:

    Code:
    ==> /etc/apt/sources.list.d/kubuntu-ppa-backports-natty.list <==
    deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/ precise main
    
    ==> /etc/apt/sources.list.d/kubuntu-ppa-ppa-natty.list <==
    deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu/ precise main
    
    ==> /etc/apt/sources.list.d/medibuntu.list <==
    deb http://packages.medibuntu.org/ quantal free non-free
    I include Medibuntu because I don't know it well enough to immediately dismiss it as non-problematic, but since I don't hear of complaints regarding Medibuntu packages, let's set that one aside, too. Now we're down to two. Can you spot why they might be a problem?

    You are still telling APT to grab Kubuntu updates and Kubuntu backports from Precise, and these should instead be from Quantal. This forces APT, the underlying package management system that supports Muon, to make some pretty tough decisions -- decisions that aren't always palatable -- in an effort to not completely break your system. I'm not surprised that you can boot into text mode without problem. It's your desktop that's been forced into an unfortunate state of malfunction.

    Ideally, I'd recommend reinstalling the operating system at this point, so that you know you have a clean base. However, it probably isn't absolutely necessary. Instead, we can bring back the parts that are missing.

    Tidy up your software sources. Run each of these:
    Code:
    sudo rm /etc/apt/sources.list.d/*.list.save
    
    sudo rm /etc/apt/sources.list.d/*.list.distUpgrade
    
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-backports-natty.list
    
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-backports-oneiric.list
    
    sudo rm /etc/apt/sources.list.d/kubuntu-ppa-ppa-natty.list
    Clean out your local package cache:
    Code:
    sudo apt-get clean
    Update your package index files:
    Code:
    sudo apt-get update
    All that's left to do is reinstall Kubuntu.

    Now then -- I admire your persistence here and your obvious desire to learn. Otherwise, you wouldn't be taking so much time as I walk you through this rather detailed discovery process. If I were in your situation, I wouldn't want to perform the reinstall without first taking a look at the output of a simulation. So let's do that first. Run the following:
    Code:
    apt-get --simulate install --reinstall kubuntu-desktop | tee /dev/tty | pastebinit
    This bit of commandline-fu runs APT in simulation mode, which displays on the screen everything that would happen if you ran it for real, but actually installs nothing. The redirection stuff in the middle grabs the output of the simulation and sends it to our friend pastebinit. I'm having you do it this way so you can simultaneously watch the output while the information goes to the pastebin. Omitting the | tee /dev/tty | portion would also work, but you'd see nothing on the screen in the process. The simulation run could take a little bit of time, so this way you won't get annoyed just staring at an unmoving screen.

    When the command finishes, the last line before the command prompt will be yet another Ubuntu pastebin URL. Let me know what that is and I'll take a look. I'm pretty certain it'll be exactly what we need.
    Last edited by SteveRiley; Feb 09, 2013, 01:56 AM.

    Leave a comment:


  • judedawson
    replied
    Hi Steve,

    Thanks for the info, that explains a lot!

    Yes, I did re-select some PPAs & software sources that fateful day... luckily I noted it down here early on in Step#5 (thanks, Vinny )

    I am not sure of the exact names of the PPA. I do remember roughly what they were:
    1. 3rd party software supported by Ubuntu & Canonical.
    2. KDE updates for Oneiric (from your inspection of the history logs, I know now it was for 12.04)
    3. KDE backport updates for Oneiric (or something like that... - (from your inspection of the history logs, I know now it was for 12.04).

    So, your observations are consistent with what I had done that day. Cool...

    OK, moving on to today's tests;

    1. Output for command
    Code:
    pastebinit /etc/apt/sources.list
    is URL
    Code:
    http://paste.ubuntu.com/1627692

    2. Output for command
    Code:
    tail -n +1 /etc/apt/sources.list.d/* | pastebinit
    is URL
    Code:
    http://paste.ubuntu.com/1627697
    ----------------------

    You mentioned practicing 12hrs a day - it reminded me of when I was studying the classical piano in my youth. I got to Grade 7 (ABRSM-UK)but didn't finish it. I remember practicing scales for an hour a day & then another hour on technical proficiency & skill - everyday. I was never really good at it but good enough to carry a tune. Eventually moved to guitar - got myself an Ibanez electric 10 years ago & applied my piano training to the 6-string. Still working on my guitar-skills. I recently 're-discovered' my interest for the 'ivory-keys' and find myself slowly drawn to it again as I get older...Am blessed now because I get to use my sills aquired on the keys & 6-string for my church worship band where I play electric rhythm-guitar, keyboards & do vocals. Sweet...

    From,
    Jude
    Last edited by judedawson; Feb 09, 2013, 12:22 AM.

    Leave a comment:


  • SteveRiley
    replied
    Well, that upgrade you performed on 1 Feb 2013 at 3:35 PM wreaked havoc on your machine. Quite a number of packages got removed. Curiously, they're all from Kubuntu-related PPAs for 12.04, not 12.10. Mixing PPAs for different releases can result in systemwide breakage. APT, the package management system for Debian and its derivatives such as Ubuntu, will not permit broken packages to exist on a system. Irresolvable version conflicts can result in the removal of many packages. Did you add any PPAs or change software sources or do anything else package-related on or before the fateful day?

    Please run these two commands:
    Code:
    pastebinit /etc/apt/sources.list
    
    tail -n +1 /etc/apt/sources.list.d/* | pastebinit
    Reply here with the two URLs that pastebinit returns.

    ----

    In fourth grade I started playing trumpet, never got very good. In eighth grade I switched to horn. It works much better for me. Got pretty good, won lots of contests, decided to make it a career, got accepted into some schools, chose one. Then realized I didn't have the desire to practice 12 hours a day, which you really need to do if you even want to think of auditioning for one of the top orchestras or land a spot in a pit orchestra on Broadway (my preference). Put the thing away when I got married in 1992 and didn't touch it until after I left Microsoft in 2009. So now I do community concert bands and orchestras. I prefer bands, really, because there's more to play.
    Last edited by SteveRiley; Feb 08, 2013, 10:14 PM.

    Leave a comment:


  • judedawson
    replied
    Hi Steve,

    The french-horn is truly a unique brass-instrument and not many choose it as their weapon-of-choice

    Thanks for sharing the picture of the beautiful shiny instrument

    It must be really cool to play with a symphony orchestra, I imagine...

    From,
    Jude

    Leave a comment:


  • judedawson
    replied
    Hi Steve,

    Thanks for the good news that I have working internet with a direct CAT5 connection

    The following are my observations with regard to Step#76 & #50;

    1. Output for command
    Code:
    sudo apt-get install pastebinit
    and

    for command
    Code:
    pastebinit /var/log/apt/history.log
    are shown in the attached screen-shot1.


    2. Outputs for command
    Code:
    for i in /var/log/apt/history*gz; do zcat $i | pastebinit; done
    and

    from Step#50, outputs for command
    Code:
    for i in /var/log/lightdm/*; do echo -n "$i - "; sudo pastebinit $i; done
    are shown in the attached screen-shot2 (it's a little blurry, though...).
    Attached Files

    Leave a comment:


  • SteveRiley
    replied
    Originally posted by judedawson View Post
    Hi Steve,
    Thanks for your continued follow up with me Am eager to get to the bottom of this...
    Symphony practice - wow....what instrument do you play?
    TBH, I love trying to solve these little mysteries.

    ---------

    I play French horn. Specifically, this here quirky example:



    A fine piece of mid-1970s East German engineering from Hans Hoyer; even stamped "Made in GDR" on the leadpipe. The fifth valve lowers the pitch of the horn 1/2 or 3/4 step (depending on the position of the fourth valve). Why? It's common to see portions of music marked "stopped," which means to close the right hand and completely cover the bell opening. This produces an edgy, buzzy sound, more interesting than an ordinary mute. Players with normal horns have to transpose the notes written on the page, because closing the bell this way alters the pitch. My cheater "stopping valve" adds the correct length of tubing to eliminate the need to transpose.

    I have recently begun playing in the Seattle Philharmonic Orchestra; they needed a sub for the next concert and I get called pretty frequently for that kind of thing. My usual gigs are the Seattle Symphonic Band and the Seattle Civic Band. One time last spring I spent a Saturday in a recording studio, playing in an orchestra assembled to record music for a local film. That was a lot of fun!

    Leave a comment:


  • SteveRiley
    replied
    Cool, you have Internet access. I'd like you to try that tool I mentioned in step #50:

    Code:
    sudo apt-get install pastebinit
    After it installs, run these two commands:
    Code:
    pastebinit /var/log/apt/history.log
    
    for i in /var/log/apt/history*gz; do zcat $i | pastebinit; done
    This will upload every package management history file on your computer to Ubuntu's pastebin site. The second command may take a little while; it's a short script that iterates through every .gz file in the subdirectory. You might have several, I don't know. Each iteration will output the URL of the pastebinned file to the sceen.

    Once the command prompt returns, take another photo and post here. Then I can look at the uploaded files and try to find out where breakage occurred.

    Leave a comment:


  • judedawson
    replied
    Hi Steve & Vinny,

    Thanks for the explanation & clarification - I understand better now

    Apologies for the delayed response - the internet connection here was REALLY slow last night.

    I connected my laptop directly to the router via CAT-5 & I've got the screen-shots of the outputs of commands in the attached PDF as per Item #74.

    1. Output for command
    Code:
    ifconfig
    is shown in the attached screen-shot1.

    2. Outputs for commands
    Code:
    route -n -ee
    ll /etc/resolv.conf
    cat /run/resolvconf/resolv.conf
    are shown in the attached screen-shot2.

    3. Output for command
    Code:
    ping 4.2.2.1
    is shown in the attached screen-shot3.


    Good day, all.

    From,
    Jude
    Attached Files

    Leave a comment:


  • SteveRiley
    replied
    Screenshot 2 from post #67 tells me a few important things. Neither eth0 (your Ethernet connection) nor wlan0 (your wireless connection) are functioning, They have no assigned IP addresses and both their transmit and receive queues have processed no traffic.

    I have a reasonably high degree of confidence we can fix your system, but you will need to get network connectivity working. Let's eliminate variables and connect your laptop's Ethernet directly to your router. To verify connectivity, you could try a variety of things. I'll provide some examples, using the outputs provided by my computer, and I'll highlight the interesting bits in blue.

    Check that network interfaces are fully configured. In my case, that's the wireless:
    Code:
    steve@x1:~$ [B]ifconfig[/B]
    eth0      Link encap:Ethernet  HWaddr f0:de:f1:a5:aa:41  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:20 Memory:f2600000-f2620000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:360 errors:0 dropped:0 overruns:0 frame:0
              TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:42471 (42.4 KB)  TX bytes:42471 (42.4 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 08:11:96:c4:70:b0  
              [COLOR="#0000CD"]inet addr:192.168.0.224  Bcast:192.168.0.255  Mask:255.255.255.0[/COLOR]
              inet6 addr: fe80::a11:96ff:fec4:70b0/64 Scope:Link
              UP BROADCAST [COLOR="#0000CD"]RUNNING[/COLOR] MULTICAST  MTU:1500  Metric:1
              RX packets:41571 errors:0 dropped:0 overruns:0 frame:0
              TX packets:21568 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              [COLOR="#0000CD"]RX bytes:57559794 (57.5 MB)  TX bytes:2484179 (2.4 MB)[/COLOR]
    Check your routing table, and ensure that your default route (the destination 0.0.0.0) points to the IP address of your wireless router:
    Code:
    steve@x1:~$ [B]route -n -ee[/B]
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface    MSS   Window irtt
    [COLOR="#0000CD"]0.0.0.0         192.168.0.1[/COLOR]     0.0.0.0         UG    0      0        0 wlan0    0     0      0
    192.168.0.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0    0     0      0
    Ensure name resolution is configured correctly. First, /etc/resolv.conf should point to a dynamically-generated file:
    Code:
    steve@x1:~$ [B]ll /etc/resolv.conf[/B]
    lrwxrwxrwx 1 root root 29 Jan 11 21:55 /etc/resolv.conf -> ../run/resolvconf/resolv.conf
    Then examine that dynamic file:
    Code:
    steve@x1:~$ [B]cat /run/resolvconf/resolv.conf[/B]
    # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
    #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
    nameserver 127.0.1.1
    search rileyz.local
    (I run my own local DNS and internal domain; your dynamic file will probably be different.)

    Finally, see you can send and receive Internet traffic. Ping Verizon's primary DNS server, always a reliable destination to use for troubleshooting connectivity:
    Code:
    steve@x1:~$ [B]ping 4.2.2.1[/B]
    PING 4.2.2.1 (4.2.2.1) 56(84) bytes of data.
    64 bytes from 4.2.2.1: icmp_req=1 ttl=57 time=35.5 ms
    64 bytes from 4.2.2.1: icmp_req=2 ttl=57 time=38.1 ms
    64 bytes from 4.2.2.1: icmp_req=3 ttl=57 time=28.6 ms
    64 bytes from 4.2.2.1: icmp_req=4 ttl=57 time=39.5 ms
    64 bytes from 4.2.2.1: icmp_req=5 ttl=57 time=30.9 ms
    [B]^C[/B]
    --- 4.2.2.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4006ms
    rtt min/avg/max/mdev = 28.693/34.584/39.531/4.147 ms
    Press Ctrl+C to stop the pinging.

    Once we ensure you have a working Internet connection, we can commence with system repair.
    Last edited by SteveRiley; Feb 07, 2013, 02:35 AM.

    Leave a comment:


  • SteveRiley
    replied
    Let's detour for a moment into a brief command line tutorial.

    When working at the CLI, the first thing you type (in most cases) is the name of some command. Following that, you typically supply parameters. Parameters may be options (sometimes called switches), which control various aspects of the command's behavior. Other parameters may include names of files, which would be files that you want to do something with, or that supply additional information to the command.

    My statement "The file /var/log/apt/history.log (plus any other 'history' files that end with some-number.gz) would tell me what happened during an update," means I need to see the contents of those files. When you're sitting at the command prompt and you type just the file name, as you attempted, the parser interprets your entry as the name of the command you wish to run. But /var/log/apt/history.log isn't a command, so the shell throws an error message.

    Vinny mentioned what you need to do. One of the several command that instruct the shell to display the contents of a file is cat. To display the file in question, you'd type
    Code:
    cat /var/log/apt/history.log
    and the output would be the line-by-line display of that file's contents.

    Advising folks in forums such as KFN means that we're dealing with wide varieties of experiences. Often, we take a guess at someone's experience level; sometimes those guesses are right, sometimes they aren't. But now that you've been introduced to cat, I can write "show us the contents of /path/to/foo.bar without actually spelling out the command for you

    Moving on. I also wrote that I'd be interested in files whose names end with some-number.gz. That request contains a small flurry of assumptions, to be honest. To fully understand it, you'd need to divine the fact that those files are in the same subdirectory as the earlier file in question -- namely, /var/log/apt. You'd also need to intuit why some-number is italicized. Typcially, it's a clue that you wouldn't actually type "some-number" but instead make a substitution, using an appropriate number. Furthermore, you'd need to know that you can't simply cat a file ending in .gz, because such files are compressed with GZip to save space. To display the contents of a GZipped file, the command is zcat.

    How, then, to actually carry out the request? First you need to obtain a list of all files in the subdirectory under consideration. ls lists contents of directories. Continuing in the context of this particular exercise, the command to do that is:
    Code:
    ls -al /var/log/apt
    This variation of the command includes both an option, -al (display all files including hidden ones), and the subdirectory of interest.

    Here's mine:
    Code:
    steve@x1:~$ [B]ls -al /var/log/apt[/B]
    total 80
    drwxr-xr-x  2 root root  4096 Feb  1 08:16 .
    drwxr-xr-x 15 root root  4096 Feb  6 23:25 ..
    -rw-r--r--  1 root root     0 Feb  1 08:16 history.log
    -rw-r--r--  1 root root 32461 Jan 31 22:04 history.log.1.gz
    -rw-r-----  1 root adm      0 Feb  1 08:16 term.log
    -rw-r-----  1 root adm  39788 Jan 31 22:04 term.log.1.gz
    In Ubuntu and its flavors, log files periodically roll over into GZipped archives. Notice how my history.log was rolled into a GZip archive, and that subsequently I haven't yet done any updates (thus the file size for the current log is zero). To see what's in that GZipped archive, I'd type:
    Code:
    zcat /var/log/apt/history.log.1.gz
    Sometimes you'll see people on the forum here indicate ll (that's two lower-case letter "ell"s) in place of ls -al. Ubuntu creates a command alias for that. Aliases are mechanisms for substituting alternate shorter commands for a longer ones.

    Now, let's resume working on your problem.
    Last edited by SteveRiley; Feb 08, 2013, 02:05 AM.

    Leave a comment:


  • vinnywright
    replied
    Originally posted by judedawson View Post
    Hi Vinny,

    Ohhhhhhhh......I see.....<feeling rather embarrassed now :P>

    Is the
    Code:
    cat
    command the same as tying in
    Code:
    nano
    followed by the path name?

    Thanks.

    From,
    Jude
    no ....cat will just display the content of a file on the command line (it will do more/other things ) nano is a command line text editor and you could change/modify the files with it , cat will not used in this context .

    VINNY

    Leave a comment:


  • judedawson
    replied
    Hi Vinny,
    I'll repeat the steps in Item#68 with the correct prefix & post the results later tonight (am late for work...)

    Hi Steve,
    Thanks for your continued follow up with me Am eager to get to the bottom of this...
    Symphony practice - wow....what instrument do you play?

    I really appreciate your help on this, guys

    Off to work now...

    From,
    Jude

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X