Re: F10 locked up while installing dl'd updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2009-04-05 at 20:07 +0200, Nigel Henry wrote:
> On Sunday 05 April 2009 17:15, Craig White wrote:
> > On Sun, 2009-04-05 at 17:10 +0200, Nigel Henry wrote:
> > > First I must say that the F10 freezup, was not F10's fault, but a
> > > continuing problem I have with my Asus M2N-X Plus mobo, as it happens
> > > with other distros.
> > >
> > > Back to the plot.
> > >
> > > While the updates on F10 were installing, the machine decided to freeze.
> > > No keyboard, no mouse, no nothing, except a static image on KDE, like a
> > > screenshot. I had no alternative, but to press the reboot button.
> > >
> > > When I've had this happen on Debian installs, I run apt-get dist-upgrade,
> > > and apt-get complains, telling me to run, dpkg-reconfigure -a. This fixes
> > > the problem with packages that were partially installed when the machine
> > > froze up, then running apt-get dist-upgrade again, the remaining packages
> > > are installed.
> > >
> > > When F10 rebooted, I ran apt-get dist-upgrade (I use apt on Fedora), but
> > > apt-get complained about dependency problems due to duplicate packages on
> > > the system.
> > >
> > > Apt-get gave the following errors.
> > > E:  Transaction set check failed
> > > E:  Handler silently failed
> > >
> > > I tried various suggestions from apt-get, like, apt-get --fix-broken
> > > install, with no success.
> > >
> > > After a serious session of rpm -e on the various packages that had
> > > duplicates, some 3hrs later, I had reduced the list of problem packages
> > > to zero, and ran apt-get dist-upgrade again, which now continued with
> > > installing the remaining packages.
> > >
> > > The question is, is there some command I could have used on Fedora,
> > > similar to the Debian, dpkg-reconfigure -a, which is able to resolve
> > > problems with partially installed packages, when you get a power out, or
> > > in my case, the machine decides to freeze up, while installing the
> > > updates.
> > >
> > > I had a good look in the man page for rpm, but couldn't see anything
> > > there that might help, but there may be other commands not in the man
> > > page of course.
> > >
> > > As usual, thanks for any suggestions.
> >
> > ----
> > yum install yum-tools
> >
> > package-cleanup --help
> >
> > Craig
> 
> Hi Craig.
> 
> As you see from the above, I'm using apt on Fedora. That said though, I will 
> install the package you suggest.
> 
> Now I'm on dialup, and the problem I had where the machine froze up, was after 
> downloading over 540MB of packages using apt-get. Last time I updated was 
> 20090315, and the latest, where I had the problem 20090404.
> 
> The difference between apt, and yum, is where they put the downloaded 
> packages. Apt puts them in /var/cache/apt/archives. Packages from all the 
> repos are placed here. Yum splits the repos up, and puts the packages for the 
> different repos in separate directories. So for example the yum updates are 
> in /var/cache/yum/updates/packages.
> 
> I've tried the GUI way of moving the packages from apt to yum, but means 
> renaming yum directories temporarily, so as to be able to copy and paste 
> from /var/cache/apt/archives to /var/cache/yum/updates/packages (packages 
> temporarily renamed to archives)
> 
> There has to be an easier way than that on the CLI. 
> 
> How do I copy the files in /var/cache/apt/archives 
> to /var/cache/yum/updates/packages?
> 
> Nigel.
> 
> Sorry, this has been a pain in the backside for the last 2 days.
----
I am not sure why you are wanting to move packages from apt to yum
locations but I suppose you have a reason for this.

My response was merely an answer to your question about cleaning up
after an aborted install and really has little to do with
installing/updating via yum except that it will compare what's installed
to what's currently available in repositories (i.e. --orphans).

Perhaps you want to install and use the tool I suggested.

Most of those packages downloaded via apt are likely to go
into /var/cache/yum/updates/packages but of course that would likely
depend upon which repositories you are using beyond the standard fedora
repositories and what you have installed from these other repositories.

I vaguely recollect someone providing an rpm command to list which
repository packages came from on the list a few weeks back but I didn't
save it. I'm still not sure why you want to move from apt to yum at this
point though. If you just want to copy the files...

cp -ar /var/cache/apt/archives/*rpm /var/cache/yum/updates/packages

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux