Koozali.org: home of the SME Server

[solved] Putty Disconnect during Yum upgrade

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
[solved] Putty Disconnect during Yum upgrade
« on: July 31, 2016, 05:12:44 PM »
Hi all
I was doing a Yum upgrade earlier (i havnt for a while due to the samba issues) and as it was at the kernel stage i lost my internet connection.
For a while once i got it back i was getting yum locked etc but now when i run it i get

Quote
[root@sme-big ~]# yum upgrade
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
 * base: mirrors.clouvider.net
 * smeaddons: mirror.pialasse.com
 * smeextras: mirror.pialasse.com
 * smeos: mirror.pialasse.com
 * smeupdates: mirror.pialasse.com
 * updates: mirrors.clouvider.net
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Setting up Upgrade Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package samba3x.x86_64 0:3.6.23-13.el5_11 set to be updated
--> Processing Conflict: samba3x conflicts samba-common < 3.6.23-13.el5_11
--> Processing Conflict: samba3x conflicts samba-client < 3.6.23-13.el5_11
--> Finished Dependency Resolution
samba3x-3.6.23-13.el5_11.x86_64 from updates has depsolving problems
  --> samba3x conflicts with samba3x-common
samba3x-3.6.23-13.el5_11.x86_64 from updates has depsolving problems
  --> samba3x conflicts with samba3x-client
Error: samba3x conflicts with samba3x-common
Error: samba3x conflicts with samba3x-client
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@sme-big ~]#
« Last Edit: July 31, 2016, 08:21:18 PM by jameswilson »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Putty Disconnect during Yum upgrade
« Reply #1 on: July 31, 2016, 07:17:19 PM »
Install yum-utils and run the suggested command: read carefully what it says..
Finally, the first command you'd execute each time you connect from remote location is screen (search with google what it does)

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Putty Disconnect during Yum upgrade
« Reply #2 on: July 31, 2016, 07:53:18 PM »
wonderful
thanks that sorted it
i also take your comments on board re screen

thankyou

guest22

Re: [solved] Putty Disconnect during Yum upgrade
« Reply #3 on: August 01, 2016, 09:45:15 AM »
To prevent such disconnects messing up your yum processes, you might want to consider using the 'screen' command.