Author Topic: upgrading and sudo problem  (Read 1197 times)

Offline breezy

  • Newbie
  • *
  • Posts: 4
upgrading and sudo problem
« on: April 17, 2014, 09:42:24 pm »
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.

« Last Edit: April 17, 2014, 09:42:24 pm by 478 »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: upgrading and sudo problem
« Reply #1 on: April 17, 2014, 10:39:34 pm »
Hi breezy.

To fix repository you have to change it:

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.
« Last Edit: July 01, 2014, 02:10:19 pm by 14 »
Nothing is easy as it looks.

Offline breezy

  • Newbie
  • *
  • Posts: 4
Re: upgrading and sudo problem
« Reply #2 on: April 18, 2014, 12:01:21 am »
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
« Last Edit: July 01, 2014, 02:10:02 pm by 478 »

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1465
    • SparkyLinux
Re: upgrading and sudo problem
« Reply #3 on: April 18, 2014, 12:26:23 am »
Menu -> System-> Language will help?
« Last Edit: July 01, 2014, 02:09:48 pm by 14 »
Nothing is easy as it looks.

Offline breezy

  • Newbie
  • *
  • Posts: 4
Re: upgrading and sudo problem
« Reply #4 on: April 18, 2014, 04:50:36 pm »
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.
« Last Edit: July 01, 2014, 02:09:27 pm by 478 »