Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) #58

Closed
scottstensland opened this issue Mar 31, 2017 · 1 comment

Comments

@scottstensland
Copy link

scottstensland commented Mar 31, 2017

possibly operator error ... this is what I did

cd ~/src/github.com/jblakeman/apt-select
python setup.py build
sudo python setup.py install

pip install apt-select

Requirement already satisfied: apt-select in /usr/local/lib/python2.7/dist-packages/apt_select-1.0.3-py2.7.egg
Requirement already satisfied: requests in /usr/local/lib/python2.7/dist-packages/requests-2.13.0-py2.7.egg (from apt-select)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.5.3-py2.7.egg (from apt-select)


sudo apt-select   

Getting list of mirrors...done.
Testing latency to mirror(s)
	connection to mirror.tocici.com: timed out
[79/79] 100%
Getting list of launchpad URLs...done.
Looking up 1 status(es)
1. mirror.imbrandon.com
    Latency: 24.12 ms
    Org:     www.imbrandon.com
    Status:  Up to date
    Speed:   100 Mbps
Selecting mirror http://mirror.imbrandon.com/ubuntu/ ...
New config file saved to /home/stens/src/github.com/jblakeman/apt-select/sources.list

OK so now I have the freshly generated config so install it per instructions

sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup &&   sudo mv sources.list /etc/apt/

so now do an update

sudo apt-get update && sudo apt-get upgrade

Get:1 http://mirror.imbrandon.com/ubuntu yakkety InRelease
Err:1 http://mirror.imbrandon.com/ubuntu yakkety InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:2 http://mirror.imbrandon.com/ubuntu yakkety-updates InRelease
Err:2 http://mirror.imbrandon.com/ubuntu yakkety-updates InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:3 http://mirror.imbrandon.com/ubuntu yakkety-backports InRelease
Err:3 http://mirror.imbrandon.com/ubuntu yakkety-backports InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:4 http://mirror.imbrandon.com/ubuntu yakkety-security InRelease
Err:4 http://mirror.imbrandon.com/ubuntu yakkety-security InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:5 https://apt.dockerproject.org/repo ubuntu-yakkety InRelease
Fetched 6,232 B in 0s (14.1 kB/s)
Reading package lists... Done
E: Failed to fetch http://mirror.imbrandon.com/ubuntu/dists/yakkety/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://mirror.imbrandon.com/ubuntu/dists/yakkety-updates/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://mirror.imbrandon.com/ubuntu/dists/yakkety-backports/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Failed to fetch http://mirror.imbrandon.com/ubuntu/dists/yakkety-security/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7

this is on a new install of ubuntu 16.10

@scottstensland
Copy link
Author

OK ... it worked eventually ... I backed out above change and reverted to original and was seeing

sudo apt-get update && sudo apt-get upgrade

Hit:1 http://mirror.clarkson.edu/ubuntu yakkety InRelease
Hit:2 http://mirror.clarkson.edu/ubuntu yakkety-updates InRelease
Hit:3 http://mirror.clarkson.edu/ubuntu yakkety-backports InRelease
Hit:4 http://mirror.clarkson.edu/ubuntu yakkety-security InRelease
Hit:5 https://apt.dockerproject.org/repo ubuntu-yakkety InRelease
Reading package lists... Done
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:7
Reading package lists... Done

after removing the offending duplicate line from /etc/apt/sources.list
then re-doing your steps I successfully installed your chosen mirror file and its working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant