Quote:
Originally Posted by TroN-0074
Make sure nothing is blocking your connection to the repository, I dont know perhaps a firewall or something on your router.
try issuing the command
or the command
Code:
sudo apt-get -f install
good luck to you
|
Thanks for the help.
I tried the command:
sudo apt-get -f install
It is showing that : 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I also tried opening the URL in the browser and it is working fine.
So not sure whether it is blocking on the firewall or the router.
I also tried running the strace command :
strace apt-get update.
stat("/var/cache/apt/pkgcache.bin", {st_mode=S_IFREG|0644, st_size=1547749, ...}) = 0
unlink("/var/cache/apt/pkgcache.bin") = 0
stat("/var/cache/apt/srcpkgcache.bin", {st_mode=S_IFREG|0644, st_size=17156, ...}) = 0
unlink("/var/cache/apt/srcpkgcache.bin") = 0
stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/var/cache/apt/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 3 entries */, 32768) = 80
stat("/var/cache/apt/archives", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat("/var/cache/apt/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/var/cache/apt/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 3 entries */, 32768) = 80
stat("/var/cache/apt/archives", {st_mode=S_IFDIR|0755, st_size=36864, ...}) = 0
getdents(4, /* 0 entries */, 32768) = 0
close(4) = 0
open("/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_NOFOLLOW, 0640) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
openat(AT_FDCWD, "/var/lib/dpkg/updates/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 2 entries */, 32768) = 48
getdents(5, /* 0 entries */, 32768) = 0
close(5) = 0
close(4) = 0
write(2, "W", 1W) = 1
write(2, ": ", 2: ) = 2
write(2, "Failed to fetch http://archive.c"..., 190Failed to fetch
http://archive.canonical.com/dists/quantal/Release Unable to find expected entry 'partner/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
) = 190
write(2, "\n", 1
) = 1
write(2, "W", 1W) = 1
write(2, ": ", 2: ) = 2
write(2, "Failed to fetch http://extras.ub"..., 190Failed to fetch
http://extras.ubuntu.com/ubuntu/dists/quantal/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
) = 190
write(2, "\n", 1
) = 1
write(2, "W", 1W) = 1
write(2, ": ", 2: ) = 2
write(2, "Failed to fetch http://security."..., 201Failed to fetch
http://security.ubuntu.com/ubuntu/di...curity/Release Unable to find expected entry 'main/binary-1386/Packages' in Release file (Wrong sources.list entry or malformed file)
) = 201
Thanks for your reply.
And below is the output. As I am new am not able to figure out what exactly it is referring: