 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

2nd November 2012, 05:12 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Can I update without internet connection?
Hello all,
I'm assuming the answer to my question is no, which leads me to another question: Is there anyway to undo an update?
My problem was posted a bit ago over here but sadly it hasn't gotten solved and I'm at a total loss as to what to do. I'm trying to avoid wiping my system at all costs.
Since my problem began after an upgrade, I want to figure out if that is the cause. So can I undo the upgrade? or see if another upgrade is available? (it won't let me because I have no network connection, wired or wireless).
Thanks.
|

2nd November 2012, 05:20 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: Can I update without internet connection?
To 'undo' an installation (which an upgrade is) have a look at:
Code:
yum history
yum history info 11
Regarding the 'no internet' if its just limited bandwith, you might prefer a 'local mirror' (eg: on a NAS)
http://blog.kagesenshi.org/2007/06/f...ng-script.html
hope this helps
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

2nd November 2012, 05:26 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
Quote:
Originally Posted by sea
To 'undo' an installation (which an upgrade is) have a look at:
Code:
yum history
yum history info 11
Regarding the 'no internet' if its just limited bandwith, you might prefer a 'local mirror' (eg: on a NAS)
http://blog.kagesenshi.org/2007/06/f...ng-script.html
hope this helps
|
Thank you so much! However, is there a way to know whether my problem is limited bandwith or not? I really don't understand the local mirror business but I will do my best to try it out now.
|

2nd November 2012, 05:29 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: Can I update without internet connection?
I suggest your first approach should be yum history.
Regarding no internet, whats the output of:
Code:
ip addr
ping -c1 google.com
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

2nd November 2012, 05:50 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
Okay, so these are my results.
[root@localhost boo]# yum history
Loaded plugins: langpacks, presto, refresh-packagekit
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
54 | System <unset> | 2012-10-27 17:57 | Update | 3 PP
53 | System <unset> | 2012-10-26 18:04 | E, I, U | 54 **
52 | System <unset> | 2012-10-22 20:44 | Update | 4
51 | System <unset> | 2012-10-16 21:18 | Update | 3
50 | System <unset> | 2012-10-09 21:47 | Update | 5
49 | System <unset> | 2012-10-02 20:44 | Update | 20
48 | System <unset> | 2012-10-01 20:20 | Update | 9 <
47 | System <unset> | 2012-09-24 21:15 | E, I, U | 22 >
46 | System <unset> | 2012-09-24 08:49 | Install | 40
45 | System <unset> | 2012-09-14 19:31 | Update | 1 <
44 | System <unset> | 2012-09-07 12:12 | E, I, U | 10 ><
43 | System <unset> | 2012-08-30 13:40 | E, I, U | 20 >
42 | System <unset> | 2012-08-29 15:21 | Update | 6
41 | System <unset> | 2012-08-20 20:19 | Update | 1
40 | System <unset> | 2012-08-18 19:20 | I, U | 43 <
39 | System <unset> | 2012-08-13 10:40 | E, I, U | 19 >
38 | System <unset> | 2012-08-01 13:37 | Install | 10 <
37 | System <unset> | 2012-07-29 13:33 | E, I, U | 138 >
36 | System <unset> | 2012-07-22 23:06 | Update | 4
35 | System <unset> | 2012-07-15 09:01 | Update | 2
history list and then this which didn't work:
[root@localhost boo]# yum history info ll
Loaded plugins: langpacks, presto, refresh-packagekit
No transaction ID, or package, given
Error: Failed history info and then I began to follow the linked instructions but after this, each input did nothing, and yeah... I don't know lol.
[root@localhost boo]# !/bin/bash -x
bash: !/bin/bash: event not found I'll go do the ip addr one now. Sorry, it takes me a while to go between OSs ;_;
|

2nd November 2012, 05:54 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: Can I update without internet connection?
The last 2 transactions are probably what you are interested in.
Code:
yum history info 54
yum history info 53
That should tell you what got updated in those 2 transactions.
If you wish to undo an update...
Code:
yum history undo 54
Would undo the transaction in your list that is the last one (number 54)
|

2nd November 2012, 06:06 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
I will try that out now. As for the other results,
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT qlen 1000
link/ether 00:1f:e1:c4:05:df brd ff:ff:ff:ff:ff:ff
inet6 fe80::21f:e1ff:fec4:5df/64 scope link
valid_lft forever preferred_lft forever
3: p2p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:21:9b:d4:c7:3e brd ff:ff:ff:ff:ff:ff
inet6 fe80::221:9bff:fed4:c73e/64 scope link
valid_lft forever preferred_lft forever
|

2nd November 2012, 06:21 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: Can I update without internet connection?
Try with p3p1 and eth0:
su
ifconfig eth0 up &
dhclient -B eth0
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Last edited by sea; 2nd November 2012 at 06:23 PM.
|

2nd November 2012, 06:37 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
Quote:
Originally Posted by sea
Try with p3p1 and eth0:
su
ifconfig eth0 up &
dhclient -B eth0
|
Do you mean p2p1...?
and two questions because I'm really not good with this
I do "ifconfig eth0 up &" in terminal, let that go, and then when that's finished I plug in "dhclient -B eth0" right? Or is there some way that I do them both at the same time...
And then for p3p1 or p2p1 or whatever, I do the same command(s) but replace eth0 with p2p1/p3p1, right?
---------- Post added at 05:37 PM ---------- Previous post was at 05:35 PM ----------
Quote:
Originally Posted by DBelton
The last 2 transactions are probably what you are interested in.
Code:
yum history info 54
yum history info 53
|
Results:
[root@localhost boo]# yum history info 54
Loaded plugins: langpacks, presto, refresh-packagekit
Transaction ID : 54
Begin time : Sat Oct 27 17:57:58 2012
Begin rpmdb : 1418:bbc271830f10afa41ca0a3f8d4958baf0613ee18
End time : 17:58:07 2012 (9 seconds)
End rpmdb : 1418:dce684b2297e1c6b8417c5217fd70c2d96124b62
User : System <unset>
Return-Code : Success
Transaction performed with:
Installed PackageKit-yum-0.6.22-2.fc16.x86_64 @updates
Installed rpm-4.9.1.3-1.fc16.x86_64 @updates
Installed yum-3.4.3-25.fc16.noarch @updates
Installed yum-metadata-parser-1.1.4-5.fc16.x86_64 @koji-override-0/$releasever
Packages Altered:
Updated bind-utils-32:9.8.3-4.P3.fc16.x86_64 @updates
Update 32:9.8.4-2.fc16.x86_64 @updates
Updated dhclient-12:4.2.4-3.P2.fc16.x86_64 @updates
Update 12:4.2.4-4.P2.fc16.x86_64 @updates
Updated openjpeg-libs-1.4-13.fc16.x86_64 @updates
Update 1.4-14.fc16.x86_64 @updates
Rpmdb Problems:
requires: 1:perl-Module-Pluggable-3.90-201.fc16.noarch has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed 1:perl-Module-Pluggable-3.90-201.fc16.noarch installed
requires: perl-PathTools-3.33-201.fc16.x86_64 has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed perl-PathTools-3.33-201.fc16.x86_64 installed
requires: 1:perl-Pod-Escapes-1.04-201.fc16.noarch has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed 1:perl-Pod-Escapes-1.04-201.fc16.noarch installed
requires: 1:perl-Pod-Simple-3.16-201.fc16.noarch has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed 1:perl-Pod-Simple-3.16-201.fc16.noarch installed
requires: 4:perl-libs-5.14.2-201.fc16.x86_64 has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed 4:perl-libs-5.14.2-201.fc16.x86_64 installed
requires: 4:perl-macros-5.14.2-201.fc16.x86_64 has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed 4:perl-macros-5.14.2-201.fc16.x86_64 installed
requires: perl-threads-1.83-201.fc16.x86_64 has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed perl-threads-1.83-201.fc16.x86_64 installed
requires: perl-threads-shared-1.37-201.fc16.x86_64 has missing requires of perl = ('4', '5.14.2', '201.fc16')
Installed perl-threads-shared-1.37-201.fc16.x86_64 installed
duplicate: 32:bind-libs-9.8.4-2.fc16.x86_64 is a duplicate with 32:bind-libs-9.8.3-4.P3.fc16.x86_64
Installed 32:bind-libs-9.8.4-2.fc16.x86_64 installed
duplicate: 32:bind-libs-lite-9.8.4-2.fc16.x86_64 is a duplicate with 32:bind-libs-lite-9.8.3-4.P3.fc16.x86_64
Installed 32:bind-libs-lite-9.8.4-2.fc16.x86_64 installed
duplicate: 32:bind-license-9.8.4-2.fc16.noarch is a duplicate with 32:bind-license-9.8.3-4.P3.fc16.noarch
Installed 32:bind-license-9.8.4-2.fc16.noarch installed
duplicate: 12:dhcp-common-4.2.4-4.P2.fc16.x86_64 is a duplicate with 12:dhcp-common-4.2.4-3.P2.fc16.x86_64
Installed 12:dhcp-common-4.2.4-4.P2.fc16.x86_64 installed
duplicate: 12:dhcp-libs-4.2.4-4.P2.fc16.x86_64 is a duplicate with 12:dhcp-libs-4.2.4-3.P2.fc16.x86_64
Installed 12:dhcp-libs-4.2.4-4.P2.fc16.x86_64 installed
duplicate: nspr-4.9.2-1.fc16.x86_64 is a duplicate with nspr-4.9.1-2.fc16.x86_64
Installed nspr-4.9.2-1.fc16.x86_64 installed
duplicate: nss-3.13.6-1.fc16.x86_64 is a duplicate with nss-3.13.5-1.fc16.x86_64
Installed nss-3.13.6-1.fc16.x86_64 installed
duplicate: nss-softokn-3.13.6-1.fc16.x86_64 is a duplicate with nss-softokn-3.13.5-1.fc16.x86_64
Installed nss-softokn-3.13.6-1.fc16.x86_64 installed
duplicate: nss-softokn-freebl-3.13.6-1.fc16.x86_64 is a duplicate with nss-softokn-freebl-3.13.5-1.fc16.x86_64
Installed nss-softokn-freebl-3.13.6-1.fc16.x86_64 installed
duplicate: nss-sysinit-3.13.6-1.fc16.x86_64 is a duplicate with nss-sysinit-3.13.5-1.fc16.x86_64
Installed nss-sysinit-3.13.6-1.fc16.x86_64 installed
duplicate: nss-util-3.13.6-1.fc16.x86_64 is a duplicate with nss-util-3.13.5-1.fc16.x86_64
Installed nss-util-3.13.6-1.fc16.x86_64 installed
duplicate: 1:perl-Module-Pluggable-3.90-201.fc16.noarch is a duplicate with 1:perl-Module-Pluggable-3.90-198.fc16.noarch
Installed 1:perl-Module-Pluggable-3.90-201.fc16.noarch installed
duplicate: perl-PathTools-3.33-201.fc16.x86_64 is a duplicate with perl-PathTools-3.33-198.fc16.x86_64
Installed perl-PathTools-3.33-201.fc16.x86_64 installed
duplicate: 1:perl-Pod-Escapes-1.04-201.fc16.noarch is a duplicate with 1:perl-Pod-Escapes-1.04-198.fc16.noarch
Installed 1:perl-Pod-Escapes-1.04-201.fc16.noarch installed
duplicate: 1:perl-Pod-Simple-3.16-201.fc16.noarch is a duplicate with 1:perl-Pod-Simple-3.16-198.fc16.noarch
Installed 1:perl-Pod-Simple-3.16-201.fc16.noarch installed
duplicate: 4:perl-libs-5.14.2-201.fc16.x86_64 is a duplicate with 4:perl-libs-5.14.2-198.fc16.x86_64
Installed 4:perl-libs-5.14.2-201.fc16.x86_64 installed
duplicate: 4:perl-macros-5.14.2-201.fc16.x86_64 is a duplicate with 4:perl-macros-5.14.2-198.fc16.x86_64
Installed 4:perl-macros-5.14.2-201.fc16.x86_64 installed
duplicate: perl-threads-1.83-201.fc16.x86_64 is a duplicate with perl-threads-1.83-198.fc16.x86_64
Installed perl-threads-1.83-201.fc16.x86_64 installed
duplicate: perl-threads-shared-1.37-201.fc16.x86_64 is a duplicate with perl-threads-shared-1.37-198.fc16.x86_64
Installed perl-threads-shared-1.37-201.fc16.x86_64 installed
duplicate: sane-backends-1.0.23-4.fc16.x86_64 is a duplicate with sane-backends-1.0.22-10.fc16.x86_64
Installed sane-backends-1.0.23-4.fc16.x86_64 installed
duplicate: sane-backends-libs-1.0.23-4.fc16.x86_64 is a duplicate with sane-backends-libs-1.0.22-10.fc16.x86_64
Installed sane-backends-libs-1.0.23-4.fc16.x86_64 installed
history info
Last edited by azukibeanx; 5th November 2012 at 04:08 PM.
|

2nd November 2012, 09:33 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,608

|
|
|
Re: Can I update without internet connection?
Try the -C switch wich forces yum to use cache.
This will not work if you had run yum clean all previously!
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
|

2nd November 2012, 09:36 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
Quote:
Originally Posted by sea
Try the -C switch wich forces yum to use cache.
This will not work if you had run yum clean all previously!
|
How do I do that? I don't really understand..
|

2nd November 2012, 10:35 PM
|
 |
Registered User
|
|
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449

|
|
|
Re: Can I update without internet connection?
Quote:
Originally Posted by azukibeanx
......
and then this which didn't work: [root@localhost boo]# yum history info ll
Loaded plugins: langpacks, presto, refresh-packagekit
No transaction ID, or package, given
Error: Failed history info
|
RE post #5, That didn't work because you typed the letters ell ell (ll) and not the numbers one one (11), the argument to the "info" option is
always the numeric id # shown by "yum history"
Of course in your case id # 11 wasn't the correct number id as from the "yum history", you want "54"
Last edited by marko; 2nd November 2012 at 10:38 PM.
|

2nd November 2012, 10:45 PM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 17

|
|
|
Re: Can I update without internet connection?
Quote:
Originally Posted by marko
RE post #5, That didn't work because you typed the letters ell ell (ll) and not the numbers one one (11), the argument to the "info" option is
always the numeric id # shown by "yum history"
Of course in your case id # 11 wasn't the correct number id as from the "yum history", you want "54"
|
Whoops! Well I ended up getting 54's info already so I think it doesn't make a difference now...? I think.  Thanks though!!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 12:37 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|