when i update it gives errors

Asked by Mohit Gidwani on 2018-02-03

the errors are as follows:
Err:17 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release
  404 Not Found
Err:18 https://http//cran.stat.ucla.edu /bin/linux/ubuntu InRelease
  Could not resolve 'http'
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubuntu-release-upgrader-core 1:17.10.9
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 3 19:29:05 2018
InstallationDate: Installed on 2018-01-30 (4 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: release-upgrade
UpgradeStatus: Upgraded to artful on 2018-01-28 (5 days ago)
VarLogDistupgradeTermlog:

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu ubuntu-release-upgrader Edit question
Assignee:
No assignee Edit question
Last query:
2018-02-07
Last reply:
2018-02-07

This question was originally filed as bug #1747148.

Brian Murray (brian-murray) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

The wine PPA doesn't support your release and should be removed. Not all PPAs support all releases
http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/dists/

You have bungled adding the other source. If you remove:

http//

From the line it will probably be OK

Mohit Gidwani (mg6897) said : #5

now i have a new error

Err:14 https://http//cran.stat.ucla.edu /bin/linux/ubuntu InRelease
  Could not resolve 'http'
Reading package lists... Done
W: Failed to fetch https://http//cran.stat.ucla.edu/dists//bin/linux/ubuntu/InRelease Could not resolve 'http'
W: Failed to fetch http://dl.wineh.org/wine-builds/ubunu/dists/artful/InRelease Could not resolve 'dl.wineh.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.

What is the output of:

sudo grep -R cran /etc/apt/*

Thanks

Manfred Hampl (m-hampl) said : #7

You made errors when adding additional repository sources.
(something wrong at the http protocol indicator for ucla.edu and wineh instead of winehq)

Are you sure that you need these additional sources?

What is the output of the commands

grep ucla /etc/apt/sources.list /etc/apt/sources.list.d/*.list
grep wineh /etc/apt/sources.list /etc/apt/sources.list.d/*.list

Mohit Gidwani (mg6897) said : #8

the output of
sudo grep -R cran /etc/apt/* is

/etc/apt/sources.list:deb https://http://cran.stat.ucla.edu/ /bin/linux/ubuntu artful/
/etc/apt/sources.list.save:deb https://http://cran.stat.ucla.edu/ /bin/linux/ubuntu artful/

grep ucla /etc/apt/sources.list /etc/apt/sources.list.d/*.list is

/etc/apt/sources.list:deb https://http://cran.stat.ucla.edu/ /bin/linux/ubuntu artful/

and grep wineh /etc/apt/sources.list /etc/apt/sources.list.d/*.list is

/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/ubuntu/ artful main
/etc/apt/sources.list:# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main
/etc/apt/sources.list:deb http://dl.wineh.org/wine-builds/ubunu/ artful main
/etc/apt/sources.list:# deb-src http://dl.wineh.org/wine-builds/ubunu/ artful main
/etc/apt/sources.list:# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main

OK, run:
sudo gedit /etc/apt/sources.list

Change:
deb https://http://cran.stat.ucla.edu/ /bin/linux/ubuntu artful/
To:
deb https://cran.stat.ucla.edu/ /bin/linux/ubuntu artful/

Save the new file, close gedit and run:
sudo apt-get update

Is it OK now?

Manfred Hampl (m-hampl) said : #10

You need to do a second modification:

Put a '#' signt to the beginning of the line that contains wineh.org (not those with winehq.org)

Can you help with this problem?

Provide an answer of your own, or ask Mohit Gidwani for more information if necessary.

To post a message you must log in.