[12:51] <atomic_> Mahlzeit
[03:50] <pnano> hello, jrib
[03:50] <jrib> hi
[03:50] <jrib> paste the error here exactly
[03:51] <pnano> I upgrade as ubuntu guide
[03:51] <jrib> yes
[03:51] <pnano> sudo apt-get upgrade & apt-get upgrade dis-upgrade
[03:51] <jrib> the upgrade seems to have skipped a few packages
[03:51] <pnano> cannot remember exact CL
[03:51] <pnano> but that's similar
[03:51] <jrib> that is *not* how to upgrade
[03:52] <pnano> The Problem is on old Version ubuntu, I have python 2.4 installed
[03:52] <jrib> the problem is that method often fails, it's not recommended
[03:52] <pnano> when upgrading, it first install 2.5, replace 2.4, then wreid thing happened: it install 2.4 again
[03:53] <jrib> pastebin what your /etc/apt/sources.list look like, the output of 'apt-cache policy ubuntu-desktop'
[03:54] <pnano>  the problem is that method often fails, it's not recommended what is recommened for upgrad?
[03:54] <pnano> e
[03:54] <jrib> !upgrade
[03:54] <ubotu> For upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes
[03:54] <jrib> but now it is too late
[03:55] <pnano> can you wait me a min
[03:55] <pnano> I will use that ubuntu  talking to you
[03:55] <pnano> quit a min
[04:19] <postgre> coming
[04:20] <postgre> jrib:
[04:20] <jrib> pastebin what your /etc/apt/sources.list look like, the output of 'apt-cache policy ubuntu-desktop'
[04:25] <postgre> posting error and http://pastebin.ca/737521
[04:25] <postgre> \/etc/apt/sources.list look like, the output of 'apt-cache policy ubuntu-desktop' is below the error message
[04:28] <jrib> what command gave you the first error?
[04:28] <postgre> jrib: any problem with my source.list?
[04:28] <jrib> no
[04:29] <gaurav_> aw his upgrade fucked up?
[04:29] <gaurav_> not a nice start
[04:29] <postgre> after I upgrade with : sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get dist-upgrade
[04:29] <postgre> yes, a few package are broken!
[04:29] <jrib> postgre: you use ubuntu with gnome?
[04:30] <postgre> with KDE
[04:30] <jrib> postgre: ok, what's the output of 'apt-cache policy kubuntu-desktop'?
[04:31] <postgre> jrib: I pasted above:  http://pastebin.ca/737521
[04:31] <jrib> no, that has "ubuntu-desktop"
[04:33] <postgre> http://pastebin.ca/737536
[04:33] <jrib> sudo apt-get install apache2.2-common
[04:34] <postgre> ok
[04:35] <postgre> jrib: http://pastebin.ca/737539
[04:35] <postgre> errors :(
[04:37] <postgre> apache2.2-common: Conflicts: libapache2-mod-php5 (<= 5.1.6-3) but 5.1.6-1ubuntu2.6 is to be installed
[04:37] <jrib> ugh, ok pastebin the 'apt-get -f install' again
[04:37] <postgre> jrib: you see, apache2 conflicts with php5
[04:37] <jrib> we may just remove apache and then install it again later
[04:37] <postgre> ok, pasting
[04:38] <postgre> it doesnt work, since I have tried N times before going to here for last help:(
[04:40] <postgre> jrib: here:http://pastebin.ca/737547
[04:40] <jrib> what happens when you try to remove apache?
[04:41] <postgre> jrib: you notice line 40: invoke-rc.d: initscript apache2, action "restart" failed.
[04:41] <postgre> failed too
[04:41] <postgre> did it 2 hours ago, failed
[04:41] <postgre> :(
[04:42] <jrib> but pastebin the output
[04:43] <postgre> jrib: here failed again: http://pastebin.ca/737550
[04:44] <postgre> gaurav_: <gaurav_> aw his upgrade fucked up? talking to me?
[04:44] <gaurav_> yes :P
[04:45] <gaurav_> well, talking to anyone, i had scrolled up and didn't see you rejoin ;)
[04:45] <jrib> postgre: remove apache2-mpm-prefork
[04:45] <postgre> gaurav_:  sudo apt-get -f remove apache2 cannot help either:(
[04:45] <postgre> yes. am 100% sure it IS broken
[04:47] <postgre> jrib: http://pastebin.ca/737557
[04:48] <postgre> force remove cannot do it
[04:48] <jrib> -f is not force
[04:49] <postgre> jrib: how to use <force> option instead?
[04:49] <jrib> is apache2-mpm-prefork still installed?
[04:49] <jrib> apt-cache policy apache2-mpm-prefork
[04:49] <postgre> Im not a .deber
[04:50] <postgre> jrib:  apache2-mpm-prefork is broken, check.. wait a bit
[04:50] <jrib> lets remove libapache2-mod-php5 libapache2-mod-python as well
[04:51] <postgre> jrib: yes,  apache2-mpm-prefork  is installed, but broken for sure
[04:51] <postgre> you mean lets remove them together?
[04:51] <jrib> what was the output?
[04:52] <postgre> remove all 3 pkg in one CL?>
[04:52] <jrib> sure
[04:52] <postgre> ok, issue
[04:55] <postgre> jrib: failed this is output: http://pastebin.ca/737568
[04:56] <jrib> output of:  apt-get -f install     now?
[04:56] <postgre> jrib: how can I?force?remove them?
[04:56] <jrib> last resort
[04:56] <postgre> jrib: output of:  apt-get -f install     now? RE: no
[04:57] <jrib> hmm?
[04:57] <postgre> its oupt of $ sudo apt-get remove apache2-mpm-prefork libapache2-mod-php5 libapache2-mod-python
[04:57] <jrib> I meant, try    apt-get -f install   now
[04:57] <postgre> ok
[05:01] <jrib> any output?
[05:02] <postgre_> internet is cut
[05:02] <postgre_> am coming back
[05:03] <jrib> k
[05:03] <postgre_> command log
[05:06] <postgre_> jrib: $ sudo apt-get -f install               failed too
[05:07] <postgre_> http://pastebin.ca/737585
[05:08] <jrib> is apache running at the moment?
[05:08] <postgre_> looking ... wait
[05:09] <postgre_> jrib: not running
[05:10] <jrib> ok
[05:11] <jrib> edit /var/lib/dpkg/info/php4-sqlite3.{postrm,prerm}
[05:11] <postgre_> ok
[05:11] <jrib> tell it not to mess with restarting apache...
[05:14] <postgre_> I vimming this file: /var/lib/dpkg/info/php4-sqlite.prerm
[05:15] <postgre_> which line I should modify?
[05:16] <jrib> pastebin it
[05:17] <postgre_> jrib: http://pastebin.ca/737596
[05:19] <postgre_> comment out Line 11-17
[05:19] <postgre_> is it?
[05:20] <jrib> postgre_: no, comment after 25 or just put "exit 0" after line 25
[05:24] <postgre_> jrib: ok, ` exit 0` added
 edit /var/lib/dpkg/info/php4-sqlite3.postrm   no such file
 one file here /var/lib/dpkg/info/php4-sqlite3.prerm
[05:26] <postgre_> jrib: do you mean /var/lib/dpkg/info/php4-sqlite.postinst ?
[05:27] <jrib> no, that's fine, try -f install again
[05:27] <postgre_> http://pastebin.ca/737607
[05:28] <jrib> ignore that file
[05:28] <postgre_> ok
[05:28] <postgre_> sudo apt-get -f install?
[05:28] <jrib> yes
[05:30] <postgre_> jrib: failed
[05:30] <postgre_> pasting:
[05:31] <postgre_> http://pastebin.ca/737610
[05:31] <jrib> erm
[05:32] <jrib> paste what the new prerm looks like
[05:32] <jrib> be back in a bit
[05:33] <postgre_> paste what the new prerm looks like is ? trying figure out what you mean
[05:34] <postgre_> jrib: let me paste this .sh ? /var/lib/dpkg/info/php4-sqlite.prerm
[05:36] <postgre_> jrib: should I run apt-get autoremove before the command : sudo apt-get -f install?
[05:48] <jrib> postgre_: /var/lib/dpkg/info/php4-sqlite3.prerm
[05:48] <postgre_> yes
[05:48] <postgre_> \/var/lib/dpkg/info/php4-sqlite.prerm
[05:48] <jrib> no
[05:49] <jrib> you do not have /var/lib/dpkg/info/php4-sqlite3.prerm ?
[05:49] <postgre_> I have
[05:50] <jrib> pastebin that
[05:50] <postgre_> http://pastebin.ca/737629
[05:51] <jrib> so....
[05:51] <jrib> what do you think is trying to restart apache?
[05:51] <jrib> wait
[05:51] <jrib> this is the wrong file
[05:51] <jrib> /var/lib/dpkg/info/php4-sqlite3.prerm
[05:52] <postgre_> wrong file?
[05:52] <jrib> with a 3
[05:52] <postgre_> yes, with a '3'
[05:52] <jrib> "$ cat /var/lib/dpkg/info/php4-sqlite.prerm"
[05:52] <jrib> without a 3
[05:52] <postgre_> oh
[05:56] <postgre_> jrib: http://pastebin.ca/737633
[05:56] <postgre_> how to edit it?
[05:56] <jrib> "exit 0"     on second line
[05:57] <postgre_> ok
[05:59] <postgre_> do I need change \/var/lib/dpkg/info/php4-sqlite.prerm back to original..?
[06:00] <jrib> sure
[06:01] <postgre_> ok, change back
[06:03] <postgre_> jrib: now it is installing some packages
[06:03] <postgre_> sreen message scrolling fast
[06:03] <jrib> cross your fingers
[06:04] <postgre_> greate thanks!
[06:05] <jrib> you should revert your changes to the prerm and dist-upgrade again
[06:08] <postgre_> jrib: revert your changes to the prerm  = edit var/lib/dpkg/info/php4-sqlite3.prerm to its old version?
[06:08] <postgre_> change back?
[06:09] <postgre_> and then
[06:09] <postgre_> sudo apt-get update && sudo apt-get dist-upgrade
[06:09] <postgre_>   sudo apt-get -f install
[06:09] <postgre_>   sudo dpkg --configure -a
[06:10] <postgre_> jrib:  revert your changes to the prerm , can you explain it a bit...
[06:12] <jrib> remove the "exit 0"
[06:13] <postgre_> remove 'exit ' for all files we have edit right?
[06:14] <postgre_> include /var/lib/dpkg/info/php4-sqlite3.prerm
[06:15] <jrib> that should be the only one you edited
[06:15] <postgre_> ok
[06:19] <postgre_> ls -al /var/lib/dpkg/info/php4-sqlite3.prerm
[06:19] <postgre_> ls: /var/lib/dpkg/info/php4-sqlite3.prerm: No such file or directory
[06:20] <postgre_> it dispear after replace by php5
[06:22] <postgre_> unpacking and replacement ... line srolling now
[06:22] <postgre_> looks like it works
[06:22] <postgre_> thanks jrib:)
[06:22] <jrib> cool, no problem
[06:24] <postgre_> great to get you help, have a nice day!
[06:24] <jrib> bye
[06:24] <postgre_> bye
[06:32] <gaurav_> awesome job with the help jrib
[06:32] <gaurav_> one satisfied customer