Peppermint | Linux OS Community Forum
 
It is currently Wed Jul 23, 2014 7:41 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Repostiory problems [Solved]
PostPosted: Sun May 27, 2012 1:00 pm 
Offline

Joined: Sat May 26, 2012 1:11 am
Posts: 128
Last night while working on a VPN issue the beginning which can be found here: viewtopic.php?t=4584

I was told via a live chat session to uninstall the packages that I had worked so hard to install all day. I am not sure I need to talk about why I was told that, as I it will most likely come up in that other thread.

Anyway I got a repo error about one of the packages that could not be resolved. I did not know the importance of that package and continued with the re-install after I had removed every part of my VPN with Symnaptec.

Now I can not connect to the Internet at all with that box. I happen to have a Magia box I am using now. Please what do I do now to solve my repo error and get connection again.

Regards.


Last edited by Brotherred on Thu Apr 25, 2013 12:15 pm, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: Repostiory problems
PostPosted: Sun May 27, 2012 1:40 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Can you explain this problem a little better .. there is nothing in those instructions that should have killed your internet connection .. indeed according to your syslog output, and the fact the install finished, it must have been connecting to the internet.

Can you connect to the internet AT ALL ?

or is this issue confined to installing through the terminal (ie. a package management issue)?

How is the PC connected to the router .. ethernet cable, or wireless ?

What is the output from:
Code:
ifconfig

and
Code:
iwconfig

and
Code:
iwlist scanning

and
Code:
rfkill list

and are there any errors when you run:
Code:
sudo apt-get update

and
Code:
sudo apt-get upgrade

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Sun May 27, 2012 9:35 pm 
Offline

Joined: Sat May 26, 2012 1:11 am
Posts: 128
My connection is direct, via CAT5. I ran the command you gave but I can not show out put at this time do to a Drakconf bug on the other machine so I can not mount USB drives or load the MCC. It is a fresh install.

Anyway with the apt-get upgrade command I did get a response to my surprise. It ended in a Yes or No to the upgrade. To which I said No on the safe side.

Regards


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Mon May 28, 2012 7:16 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
If you run:
Code:
sudo apt-get update

do you get a bunch of responses like this:-

Quote:
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dis ... tion-en_GB Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dis ... slation-en Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.

?

Can you ping Google from the command line:
Code:
ping -c 5 173.194.41.66

and
Code:
ping -c 5 google.com

?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Mon May 28, 2012 8:58 pm 
Offline

Joined: Sat May 26, 2012 1:11 am
Posts: 128
Yes the repository fails just as you said in your last post. I should have said something like that Thank you for asking. In both cases that you requested ping reports that there is a bad number of packets to transmit.


Regards.


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Mon May 28, 2012 9:24 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Are you sure you didn't miss out the "5" after the "-c" in those ping commands ? .. that's not either of the outputs I was expecting, and is usually the result of an invalid number after -c and before the IP/hostname.

And I could really do with knowing the output from:
Code:
ifconfig

Have you tried deleting the wired connection in NetworkManager, and recreating it ?

Have you tried deleting the VPN connection in NetworkManager, and seeing if you can connect to the internet ?

Can you ping the routers IP ?

What is the output from:
Code:
route

?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Wed May 30, 2012 1:33 am 
Offline

Joined: Sat May 26, 2012 1:11 am
Posts: 128
Here is the terminal output that you asked for finally very so sorry for the delay.. I have not tried deleting the wired connection and rebuilding it as for the VPN, It no longer shows up and looks to be removed.

Code:
Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:65 errors:0 dropped:0 overruns:0 frame:0
          TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5650 (5.6 KB)  TX bytes:5650 (5.6 KB)


brotherred@brotherred-Linux-2 ~ $ ping -c 5 173.194.41.66
connect: Network is unreachable
brotherred@brotherred-Linux-2 ~ $ ping -c 5 google.com
ping: unknown host google.com
brotherred@brotherred-Linux-2 ~ $ rout
No command 'rout' found, did you mean:
Command 'route' from package 'net-tools' (main)
Command 'lout' from package 'lout' (universe)
Command 'gout' from package 'scotch' (universe)
Command 'rott' from package 'rott' (multiverse)
rout: command not found
brotherred@brotherred-Linux-2 ~ $


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Wed May 30, 2012 9:21 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, it may be that the saved network profiles have become corrupted .. so let's move them (back them up) .. open a terminal and run:

REMEMBER - Linux commands ARE case sensitive, so enter these commands EXACTLY as shown.

Code:
sudo mv -v /etc/NetworkManager/system-connections /etc/NetworkManager/system-connections-backup

expected output:-
Quote:
`/etc/NetworkManager/system-connections' -> `/etc/NetworkManager/system-connections-backup'

(if the output is anything else, STOP, and let me know what it was)

then run:
Code:
mv -v ~/.gconf/system/networking ~/.gconf/system/networking-backup

expected output:-
Quote:
`/home/username/.gconf/system/networking' -> `/home/username/.gconf/system/networking-backup'

(if the output is anything else, STOP, and let me know what it was)

Now REBOOT.

That will have cleared ALL stored NetworkManager profiles .. so after the reboot, you'll need to recreate the WIRED connection, then check if the interweb works.

if it does .. recreate the VPN, but remember to NOT set the "Available to all users" option.

==============

To UNDO - run these 4 commands:
Code:
sudo mv -v /etc/NetworkManager/system-connections /etc/NetworkManager/system-connections-old

then
Code:
sudo mv -v /etc/NetworkManager/system-connections-backup /etc/NetworkManager/system-connections

then
Code:
mv -v ~/.gconf/system/networking ~/.gconf/system/networking-old

then
Code:
mv -v ~/.gconf/system/networking-backup ~/.gconf/system/networking

then REBOOT.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Thu May 31, 2012 12:52 am 
Offline

Joined: Sat May 26, 2012 1:11 am
Posts: 128
Thanx for your time. I have some command line skills. One can't run Linux nearly constantly from FC3 with out some command line. But I did get hung up on your last command.

Code:
mv -v ~/.gconf/system/network ~/.gconf/system/network-backup
mv: cannot stat `/home/brotherred/.gconf/system/network': No such file or directory                             
brotherred@brotherred-Linux-2 ~ $ ls ~/.gconf/system/network
ls: cannot access /home/brotherred/.gconf/system/network: No such file or directory
brotherred@brotherred-Linux-2 ~ $ 


Regards.


Top
 Profile  
 
 Post subject: Re: Repostiory problems
PostPosted: Thu May 31, 2012 8:03 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
That's just where the user specific network profiles are kept .. if there aren't any, it won't necessarily exist.

The other location being the system wide profiles (Available to all users).

It does however tell us that the VPN probably never got switched from "Available to aall users" to "user" specific.

Have you rebooted and tried recreating the wired connection ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL