Question about libcurl3-gnutls 7.47.0-1ubuntu2.9
Hi,
I am with Ubuntu 16.04+Kinetic. I have tried to install libcurl4-gnutls-dev by
"sudo apt-get install libcurl4-
And I got this message:
"libcurl4-
Then I installed libcurl3-gnutls= 7.47.0-1ubuntu2. This operation resulted in the downgrade of the libcurl3-gnutls and 54 related packages removed. I wonder why this operation resulted in removement of packages like ros-kinetic-
I mannually install the removed packages. As I worried about the dependencies have changed, I tried to upgrade the libcurl3-gnutls to 7.47.0-1ubuntu2.9. However, I cannot find any information about this version of libcurl3-gnutls.
I wonder how I could get back to this version of libcurl3-gnutls. Thank you for any help you can offer!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu curl Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jiaqi Chen
- Solved:
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Version 7.47.0-1ubuntu2.9 of the curl (and libcurl*) packages in Ubuntu xenial was the current version between 2018-09-17 and 2018-10-31 and has meanwhile been superseded by higher version numbers (up to 7.47.0-1ubuntu2.19)
Instead of downgrading libcurl4-gnutls-dev to version 7.47.0-1ubuntu2 with a forced removal of other packages you should have better upgraded all packages to the newest version.
It seems that at a certain moment in time you had the xenial-security and/or xenial-updates repositories activated, and you are missing them now.
What you experience is a common problem that can happen when you deactivate a repository, but still have packages installed from that repository.
Remark: Are you aware that support for Ubuntu 16.04 will end this week (except for ESM)?
Revision history for this message
![]() |
#3 |
Thanks Manfred Hampl, that solved my question.
Revision history for this message
![]() |
#4 |
Thank you for your kindly help! It really helped me out of this situation.
However, I still cannot upgrade libcurl3-gnutls to the newest version 7.47.0-1ubuntu2.19. When I used "sudo apt-get install", I got this message
"E: Version '7.47.0-
I wonder if I should install the newest version by deb. I examined that the versions of other removed packages, like ros-kinetic-
Thank you again for any kind help you can offer!
Revision history for this message
![]() |
#5 |
Manually installing from *.deb files is not recommended, because you may again run into dependency problems. Use the package management programs (e.g. apt or apt-get) whenever possible.
For updating all packages to the newest version there are the "apt upgrade" and "apt full-upgrade" commands and they should work well if the package management system is adequately configured.
What is the output of the commands
uname -a
lsb_release -crid
apt-cache policy libcurl3-gnutls
grep -e 'updates' -e 'security' /etc/apt/
Revision history for this message
![]() |
#6 |
Hi,
Thank you for your kind help and sorry for the delayed response. I tried "apt upgrade" and "apt full-upgrade" with "apt-get update", but " libcurl3-gnutls" was not in the upgrade list. The response is as followed.
"The following NEW packages will be installed:
amd64-microcode cgroup-lite intel-microcode iucode-tool libevent-core-2.0-5
libevent-
linux-
linux-
linux-
python-
The following packages will be upgraded:
code git-core google-
python-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
ros-kinetic-
snap-confine snapd ubuntu-
31 upgraded, 15 newly installed, 0 to remove and 0 not upgraded."
Then I tried the commands in the last conmments, and the response is as followed.
"~$ uname -a
Linux liaolab-ASM201 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
liaolab@
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
~$ apt-cache policy libcurl3-gnutls
libcurl3-gnutls:
Installed: 7.47.0-1ubuntu2
Candidate: 7.47.0-1ubuntu2
Version table:
*** 7.47.0-1ubuntu2 500
500 http://
100 /var/lib/
7.
500 http://
500 http://
7.
500 http://
N: Ignoring file 'ros-latest.
liaolab@
grep: /etc/apt/
grep: /etc/apt/
~$ grep -e 'updates' -e 'security' /etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
Then I tried with "apt-get update' but I got these messages:
"Err:6 http://
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)"
I wonder how I should do next or how I could fix the error with "apt-get update". Thank you very much for any help you can offer!
Revision history for this message
![]() |
#7 |
Your package management system is misconfigured.
You are running Ubuntu 16.04 xenial, but your sources.list configuration file contains references for Ubuntu 14.04 trusty. This is wrong.
Please copy/paste the output that you receive for the command
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
Revision history for this message
![]() |
#8 |
Thank you for you kind help and sorry for the delayed response. The output of this command is as followed:
"$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] http://
/etc/apt/
1 deb http://
2 # deb-src http://
/etc/apt/
1 deb http://
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64,
/etc/apt/
1 deb http://
/etc/apt/
1 deb http://
/etc/apt/
1 deb http://
2 # deb-src http://
/etc/apt/
1 deb http://
2 # deb-src http://
/etc/apt/
1 deb http://
2 # deb-src http://
/etc/apt/
1 # deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64+mac (20140417)]/ trusty main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://
37 deb-src http://
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://
51 # deb-src http://
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 deb http://
56 deb-src http://
57 deb http://
58 deb-src http://
"
Thank you very much for any help you can offer!
Revision history for this message
![]() |
#9 |
Open a terminal window and issue the command
sudo gedit /etc/apt/
In the editor window that opens change all occurrences of "trusty" by "xenial" except in the first line (leave the first line as it is).
Put a comment indicator in front of every line that starts wit deb-src,
changing from
deb-src http...
into
# deb-src http...
Delete the last two lines (those containing mirrors.
Save the file and close the editor.
Finally execute the command
sudo apt update
and copy/paste the output into the question document, that we can verify the results.
Revision history for this message
![]() |
#10 |
Thank you for your kind help! I have changed the list file as above and the output of "sudo apt update" is as followed.
"
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Get:5 http://
Hit:6 http://
Hit:7 http://
Hit:8 http://
Hit:9 http://
Get:10 http://
Hit:11 http://
Get:12 http://
Get:13 http://
Ign:14 http://
Err:15 http://
404 Not Found [IP: 91.189.88.91 80]
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:76 http://
Get:77 http://
Get:78 http://
Get:79 http://
Get:80 http://
Get:81 http://
Get:82 http://
Get:83 http://
Get:84 http://
Get:85 http://
Reading package lists... Done
N: Ignoring file 'ros-latest.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
"
Thank you again!
Revision history for this message
![]() |
#11 |
Ok, this looks far better, but I have overlooked one additional error.
Proceed as follows:
open a terminal window and issue the following commands:
sudo rm /etc/apt/
sudo gedit /etc/apt/
in the editor window that opens scroll down to the end and remove the last four lines (those about extras.ubuntu.com including the two comment lines before).
save the file, close the editor and issue the commands
sudo apt update
apt-cache policy libcurl4-gnutls-dev libcurl3-gnutls
and copy/paste the output that we can see the results.
I assume that you have already received a notice that several packages can be updated.
Revision history for this message
![]() |
#12 |
Thank you for your kind help. Part of the output of "sudo apt update" is as followed.
"
790 packages can be upgraded. Run 'apt list --upgradable' to see them.
"
And the output of "apt-cache policy libcurl4-gnutls-dev libcurl3-gnutls" is as followed.
"
libcurl4-
Installed: (none)
Candidate: 7.47.0-1ubuntu2.19
Version table:
7.
500 http://
500 http://
7.
500 http://
libcurl3-gnutls:
Installed: 7.47.0-1ubuntu2
Candidate: 7.47.0-1ubuntu2.19
Version table:
7.
500 http://
500 http://
*** 7.47.0-1ubuntu2 500
500 http://
100 /var/lib/
"
Thank you again for your help!
Revision history for this message
![]() |
#13 |
This looks good (unless there are warnings or errors in the part of "apt update" that you did not copy, which I do not expect).
I assume that you now can install libcurl4-gnutls-dev (version 7.47.0-
"790 packages can be upgraded."
This shows that the configuration of your package management system was wrong and did not offer updates throughout the past years.
I recommend installing the available updates. This will automatically resolve any other dependency problem like the one with libcurl*-gnutls.
Revision history for this message
![]() |
#14 |
Thank you for your help and recommendation! The process of "apt update" seems correct, which has no warnings or errors. I will install the available updates later to resolve other dependency problem.
Many thanks for all your assistance! It really solves my problem and gives me encouragement.