Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Jeffry Smith
The "tee" means the output goes to both file and screen.   Either should
work for getting the log file.

Jeff
On May 10, 2015 9:50 PM, "David Rysdam"  wrote:

> Jeffry Smith  writes:
> >> Joshua Judson Rosen  writes:
> >> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
> >>
> >> OT, but why not just:
> >>
> >> apt-get install > apt-errors.log 2>&1
> >>
> > The -f flag tells apt to try and fix errors.
>
> I left the -f out accidentally. I left the pipe and the tee out on
> purpose.
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Bruce Labitt
Thanks.  Will try tomorrow.

Bruce 

Please excuse any typos, sent by my iPhone.

> On May 10, 2015, at 22:04, Jeffry Smith  wrote:
> 
> Run "ls /dev/sd*" before & after inserting stick.   Then "point /dev/sd disk>"
> 
> Will show up in /media
> 
> Jeff
> 
>> On May 10, 2015 9:42 PM, "Bruce Labitt"  wrote:
>> Ok.  Seemed to have lost the ability to log into x.
>> 
>> I can login.  I ran the command and it created the log file.  How do you 
>> mount a usb stick when you don't know its name?  Then I can copy the file.
>> 
>> It's getting to the point of removing the drive, copying /home and doing a 
>> new installation.  
>> 
>> Bruce 
>> 
>>> On May 10, 2015, at 21:17, Jeffry Smith  wrote:
>>> 
>>> The -f flag tells apt to try and fix errors.
>>> 
>>> I run Debian. Sometimes either "apt-get -f install" works.  Also,  running 
>>> "dpkg --configure -a" (which tells dpkg to try & configure all the 
>>> partially installed packages) will unbork it.  Without seeing the exact 
>>> error,  I also can't give you better advice.
>>> 
 On May 10, 2015 9:08 PM, "David Rysdam"  wrote:
 Joshua Judson Rosen  writes:
 > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
 
 OT, but why not just:
 
 apt-get install > apt-errors.log 2>&1
 
 ?
 ___
 gnhlug-discuss mailing list
 gnhlug-discuss@mail.gnhlug.org
 http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Jeffry Smith
Run "ls /dev/sd*" before & after inserting stick.   Then "point /dev/sd"

Will show up in /media

Jeff
On May 10, 2015 9:42 PM, "Bruce Labitt" 
wrote:

> Ok.  Seemed to have lost the ability to log into x.
>
> I can login.  I ran the command and it created the log file.  How do you
> mount a usb stick when you don't know its name?  Then I can copy the file.
>
> It's getting to the point of removing the drive, copying /home and doing a
> new installation.
>
> Bruce
>
> On May 10, 2015, at 21:17, Jeffry Smith  wrote:
>
> The -f flag tells apt to try and fix errors.
>
> I run Debian. Sometimes either "apt-get -f install" works.  Also,  running
> "dpkg --configure -a" (which tells dpkg to try & configure all the
> partially installed packages) will unbork it.  Without seeing the exact
> error,  I also can't give you better advice.
> On May 10, 2015 9:08 PM, "David Rysdam"  wrote:
>
>> Joshua Judson Rosen  writes:
>> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
>>
>> OT, but why not just:
>>
>> apt-get install > apt-errors.log 2>&1
>>
>> ?
>> ___
>> gnhlug-discuss mailing list
>> gnhlug-discuss@mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>>
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread David Rysdam
Jeffry Smith  writes:
>> Joshua Judson Rosen  writes:
>> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
>>
>> OT, but why not just:
>>
>> apt-get install > apt-errors.log 2>&1
>>
> The -f flag tells apt to try and fix errors.

I left the -f out accidentally. I left the pipe and the tee out on
purpose.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Bruce Labitt
Ok.  Seemed to have lost the ability to log into x.

I can login.  I ran the command and it created the log file.  How do you mount 
a usb stick when you don't know its name?  Then I can copy the file.

It's getting to the point of removing the drive, copying /home and doing a new 
installation.  

Bruce 

> On May 10, 2015, at 21:17, Jeffry Smith  wrote:
> 
> The -f flag tells apt to try and fix errors.
> 
> I run Debian. Sometimes either "apt-get -f install" works.  Also,  running 
> "dpkg --configure -a" (which tells dpkg to try & configure all the partially 
> installed packages) will unbork it.  Without seeing the exact error,  I also 
> can't give you better advice.
> 
>> On May 10, 2015 9:08 PM, "David Rysdam"  wrote:
>> Joshua Judson Rosen  writes:
>> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
>> 
>> OT, but why not just:
>> 
>> apt-get install > apt-errors.log 2>&1
>> 
>> ?
>> ___
>> gnhlug-discuss mailing list
>> gnhlug-discuss@mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Jeffry Smith
On May 10, 2015 9:17 PM, "Jeffry Smith"  wrote:
>
> The -f flag tells apt to try and fix errors.
>
> I run Debian. Sometimes either "apt-get -f install" works.  Also,
running "dpkg --configure -a" (which tells dpkg to try & configure all the
partially installed packages) will SOMETIMES unbork it.  Without seeing the
exact error,  I also can't give you better advice.

(fixed my wording)
>
> On May 10, 2015 9:08 PM, "David Rysdam"  wrote:
>>
>> Joshua Judson Rosen  writes:
>> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
>>
>> OT, but why not just:
>>
>> apt-get install > apt-errors.log 2>&1
>>
>> ?
>> ___
>> gnhlug-discuss mailing list
>> gnhlug-discuss@mail.gnhlug.org
>> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Jeffry Smith
The -f flag tells apt to try and fix errors.

I run Debian. Sometimes either "apt-get -f install" works.  Also,  running
"dpkg --configure -a" (which tells dpkg to try & configure all the
partially installed packages) will unbork it.  Without seeing the exact
error,  I also can't give you better advice.
On May 10, 2015 9:08 PM, "David Rysdam"  wrote:

> Joshua Judson Rosen  writes:
> > Can you run "apt-get install -f 2>&1 | tee apt-errors.log"
>
> OT, but why not just:
>
> apt-get install > apt-errors.log 2>&1
>
> ?
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread David Rysdam
Joshua Judson Rosen  writes:
> Can you run "apt-get install -f 2>&1 | tee apt-errors.log"

OT, but why not just:

apt-get install > apt-errors.log 2>&1

?
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Joshua Judson Rosen
I might actually be able to offer a solution, but not without knowing what the 
errors actually are.

Can you run "apt-get install -f 2>&1 | tee apt-errors.log" and post the 
resulting apt-errors.log file somewhere, rather than just saying that you get 
"an error message"?

If you're having the sort of issue where two packages both think they own the 
same file, "dpkg-divert" can probably help; I'm not sure whether that's the 
problem you're having from the description, though.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

On May 10, 2015 3:11:15 PM EDT, Bruce Labitt  
wrote:
>Been quiet on the list.
>
>Upgrade from Ubuntu 14.10 to 15.04.  Apt seems to be hung up with 
>removing a single file - which is old and not needed.  But because of 
>this the upgrade is severely screwed up.  Not sure if it will boot
>again 
>properly.  I just downloaded an 15.04 iso to burn to a usbstick to act 
>as a rescue if needed.
>
>Package is octave3.2-info, for some reason it has dependencies on perl.
> 
>Perl is apparently used by a lot of packages in some way, and all of 
>these necessary packages are "half installed".  It got so bad that 
>dist-upgrade hung because there were too many errors.
>
>There is some sort of directory issue, which generates an error message
>
>if I attempt to apt-get remove octave3.2-info.
>I think, if I can remove or delete this file (and remove references to 
>it) perhaps the rest of the install will go through.  This, of course 
>sound 'dangerous' but I have run out of ideas.
>
>Any suggestions?  apt-get -f install returns the error message. apt-get
>
>remove returns the same error.  Looking for a few ideas. I'll try to
>use 
>some of them tonight to attempt a fix.  Got to visit Mom now...
>
>Regards,
>Bruce
>___
>gnhlug-discuss mailing list
>gnhlug-discuss@mail.gnhlug.org
>http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Mark Komarinski

> On May 10, 2015, at 3:11 PM, Bruce Labitt  
> wrote:
> […]
> There is some sort of directory issue, which generates an error message 
> if I attempt to apt-get remove octave3.2-info.
> I think, if I can remove or delete this file (and remove references to 
> it) perhaps the rest of the install will go through.  This, of course 
> sound 'dangerous' but I have run out of ideas.
> 
> Any suggestions?  apt-get -f install returns the error message. apt-get 
> remove returns the same error.  Looking for a few ideas. I'll try to use 
> some of them tonight to attempt a fix.  Got to visit Mom now...

What’s the error message?  You might be able to force-remove that one package 
(dpkg -r —force-all octave3.2-info) and ignore dependencies and then continue 
on.  Can’t guarantee it’ll work, but it sounds like it won’t make the system 
any unusable than it is now...

-Mark
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Brian St. Pierre
On Sun, May 10, 2015 at 3:11 PM, Bruce Labitt 
wrote:
>
> There is some sort of directory issue, which generates an error message
> if I attempt to apt-get remove octave3.2-info.
> I think, if I can remove or delete this file (and remove references to
> it) perhaps the rest of the install will go through.  This, of course
> sound 'dangerous' but I have run out of ideas.
>
> Any suggestions?  apt-get -f install returns the error message. apt-get
> remove returns the same error.  Looking for a few ideas. I'll try to use
> some of them tonight to attempt a fix.  Got to visit Mom now...
>

If you don't want to nuke it as David and Jerry suggested, I've sometimes
had luck with dropping to the dpkg layer and trying to manually resolve
these problems.

"dpkg -S FILE" or "apt-file find FILE" will tell you who owns the offending
file.

"dpkg -s PACKAGE" will tell you what a certain package depends on.

"dpkg-reconfigure PACKAGE" will sometimes jiggle a package back into
position.

If you can verify that the file you're about to remove isn't actually owned
by any package, you can try removing it and maybe get unstuck. At that
point I guess the worst-case outcome is that you cripple the system and end
up having to reinstall from scratch... you have a good backup, right?

Sometimes the judicious use of "apt-get purge" to get stale files out of
the way will get the system unstuck, and then you can reinstall the newer
versions of those packages once everything is resolved.

For what it's worth, I stick to LTS releases and use PPAs for packages
where I really want the latest version. I find upgrades from one LTS to
another to be smoother -- have never had a point-release upgrade go well.

--
Brian St. Pierre
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread Jerry Feldman
On 05/10/2015 03:26 PM, David Rysdam wrote:
> Bruce Labitt  writes:
>> Any suggestions?  apt-get -f install returns the error message. apt-get 
>> remove returns the same error.  Looking for a few ideas. I'll try to use 
>> some of them tonight to attempt a fix.  Got to visit Mom now...
> I'm always a "nuke it from orbit" person with these things. /home is a
> separate partition and I have (at least) two others, for alternately
> installing fresh on, back and forth. I *never* "upgrade".
>
> If /home is separate, I'd just nuke / and start over. If /home isn't
> separate, back it up, repartition and start over.
>
While I no longer use Ubuntu, I do install it at installfests. Usually,
I upgrade for a few releases then I do a clean install. In your case, I
agree with Bruce. An upgrade does not always clean things up entirely
regardless of the system. I would also back up your /home whether it is
a separate partition or not just to prevent a mistake. Then you can
select the whole disk to install.

-- 
Jerry Feldman 
Boston Linux and Unix
PGP key id:B7F14F2F
PGP Key fingerprint: D937 A424 4836 E052 2E1B  8DC6 24D7 000F B7F1 4F2F



signature.asc
Description: OpenPGP digital signature
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: Need some suggestions on a borked upgrade

2015-05-10 Thread David Rysdam
Bruce Labitt  writes:
> Any suggestions?  apt-get -f install returns the error message. apt-get 
> remove returns the same error.  Looking for a few ideas. I'll try to use 
> some of them tonight to attempt a fix.  Got to visit Mom now...

I'm always a "nuke it from orbit" person with these things. /home is a
separate partition and I have (at least) two others, for alternately
installing fresh on, back and forth. I *never* "upgrade".

If /home is separate, I'd just nuke / and start over. If /home isn't
separate, back it up, repartition and start over.
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Need some suggestions on a borked upgrade

2015-05-10 Thread Bruce Labitt
Been quiet on the list.

Upgrade from Ubuntu 14.10 to 15.04.  Apt seems to be hung up with 
removing a single file - which is old and not needed.  But because of 
this the upgrade is severely screwed up.  Not sure if it will boot again 
properly.  I just downloaded an 15.04 iso to burn to a usbstick to act 
as a rescue if needed.

Package is octave3.2-info, for some reason it has dependencies on perl.  
Perl is apparently used by a lot of packages in some way, and all of 
these necessary packages are "half installed".  It got so bad that 
dist-upgrade hung because there were too many errors.

There is some sort of directory issue, which generates an error message 
if I attempt to apt-get remove octave3.2-info.
I think, if I can remove or delete this file (and remove references to 
it) perhaps the rest of the install will go through.  This, of course 
sound 'dangerous' but I have run out of ideas.

Any suggestions?  apt-get -f install returns the error message. apt-get 
remove returns the same error.  Looking for a few ideas. I'll try to use 
some of them tonight to attempt a fix.  Got to visit Mom now...

Regards,
Bruce
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/