Cannot change repositories using Debian ISO

More
19 Jul 2015 02:28 #60741 by AggieMEEN
First off: I am a Linux newbie when it comes to the CLI and its inner workings.

I executed a clean install of the LinuxCNC 2.6 Debian hybrid ISO and noticed that I cannot enable any of the other software repositories (non-free, etc) from Synaptic or the update manager. I can click the box, but the check-mark does not stay. Very odd.

Has anyone else had this happen with the Debian Wheezy that comes in the hybrid ISO?

Thanks,

Please Log in or Create an account to join the conversation.

More
19 Jul 2015 16:09 - 19 Jul 2015 16:15 #60755 by ArcEye
Can only assume that whatever is in there is not correct?

I never use synaptic for that kind of thing.
Go to /etc/apt/ and rename sources.list to sources.list.old

Then put the attached in its place
(or if that is problematic, cut and paste the below into your existing file and comment ## out the previous lines)

Contains
deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.us.debian.org/debian/ wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

# wheezy-backports
deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free

which are all the main ones for US locations

Afterwards run sudo apt-get update to update the available files lists

regards
Attachments:
Last edit: 19 Jul 2015 16:15 by ArcEye.

Please Log in or Create an account to join the conversation.

More
19 Jul 2015 16:25 #60756 by cncbasher
looks to me your not logged in as root , when using the package manager , have you created a user or using a user without the correct rights

change <your username > to reflect your setup

from a terminal
su -c "adduser <your username> sudo"
then logout and log back in again

Please Log in or Create an account to join the conversation.

More
19 Jul 2015 22:45 #60761 by AggieMEEN
@cncbasher

I got an authentication error when I tried running the su command. Not sure what to make of that. :huh:

When I executed "sudo adduser <my username> sudo" in terminal, it replied back that my username is already a member of sudo.

@ArcEye

From some of the reading I've been doing on Debian Wheezy this is a known issue with Synaptic for a lot of people (maybe everyone?). Apparently it's best to edit the sources.list and work through CLI, avoiding Synaptic.

Right now the only repository I have access to is "Source Code." The other ones (Main, Contrib, Non-Free) are "un-checkmarkable." If I only need Source Code then that's fine; this computer is intended to be a CNC control computer only. If I need the other repositories, then I'll have to work through CLI and edit sources.list.

Thank you all for the replies!

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum