Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

upgrading and sudo problem

Started by breezy, April 17, 2014, 09:42:24 PM

Previous topic - Next topic

breezy

Hello, chomping at the learning curve here. First of all i tried to sudo apt-get update and got 'brian is not in sudoers file' so i assume this should be an editing thing but i don't have a clue what to do to fix it.I can su with my root pswd but would still like to fix sudo.Next i tried update after su'ing but got the following:

root@sparky:/home/brian# apt-get update

Anwybyddu http://dl.google.com stable InRelease

Presennol http://deb.playonlinux.com squeeze InRelease

Cyrchu:1 http://ftp.debian.org testing InRelease [166 kB]

Presennol http://www.deb-multimedia.org testing InRelease

Presennol http://dl.google.com stable Release.gpg

Presennol http://security.debian.org testing/updates InRelease

Cyrchu:2 http://repo.sparkylinux.org sparky InRelease

Presennol http://dl.google.com stable Release

Presennol http://deb.playonlinux.com squeeze/main i386 Packages

52% [2 InRelease gpgv 1,028 B] [1 InRelease 85.1 kB/166 kB 51%] [Yn aros am benSplitting up /var/lib/apt/lists/partial/repo.sparkylinux.org_dists_sparky_InReleaAnwybyddu http://repo.sparkylinux.org sparky InRelease

E: GPG error: http://repo.sparkylinux.org sparky InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

root@sparky:/home/brian#

I also tried through the menu '-settings-software and update' but nothing happened, no window or notification.

The last problem relating to this is if you notice the terminal output most is in english but what language is "Yn aros am ben?"

This gaelic looking text also pops up in orage which has 17 Ebrill instead of April and in some of the settings there some non english language.

Hoping for a solution, thank you for your time Brian.

PS just noticed the 'network need authentication' line. The network has a good connection and works fine.


pavroo

#1
Hi breezy.

To fix repository you have to change it:

http://sparkylinux.org/repository-changed/" class="bbcode_url">http://sparkylinux.org/repository-changed/

Looks like you are using older version of Sparky than 3.3.

Sudo is enabled as default from Sparky 3.3 and above.

If you'd like to use sudo in older version of Sparky, do (as root):

Code:

adduser <your-nick> sudo


Create a file in your home directory called:

Code:

.su-to-root


Place the text inside the file:

Code:

SU_TO_ROOT_SU=sudo


Then log out and login back.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

breezy

#2
Thanks for the quick reply worked a treat. Now i only have an issue with the language which i now know to be welsh. When updating i noticed a reference to 'non-free translation cy-GB' or something like that and the update ended with the welsh for finished/updated not english. Any suggestion how i get uk english as default. I think when i installed it i seen the GB part of the keymap part and selected it away from the default US and probably never thought about the cy bit which i assume is the welsh part. It's not a major issue yet but once i know how to change the default to GB english i hopefully wont have to ask in the future if i get a 'senior moment' and install the wrong language again on another computer. Thanks again for your help. Brian

pavroo

#3
Menu -> System-> Language will help?
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

breezy

#4
Thanks again, what a brilliant system, don't know why it's so hard for windows users to understand the benefits of open source.It allows the poorer community access to information and technology that was much harder to obtain in the days of the microsoft monopoly.Long may the free philosophy reign.

View the most recent posts on the forum