How to remove duplicate source.list from ubuntu 14.04

Asked by Singh

I am not able to update my system because sudo apt-get update not working it showing error, here

W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ trusty/restricted i386 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_main_binary-i386_Packages)

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

What is the full Terminal output of this command?

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Revision history for this message
Singh (sameerp011) said :
#2

Hi Mark,
Please see below full Terminal output :

W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ xenial/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ xenial/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-i386_Packages)
sonu@sonu-LIFEBOOK-A544:~$

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

That does not look like the right Terminal output.

Could you please copy-paste the following command instead of trying to type it?

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Revision history for this message
Singh (sameerp011) said :
#4

Hi Mark,

Please take a look below command which i used on terminal

sonu@sonu-LIFEBOOK-A544:~$ sudo apt-get update
[sudo] password for sonu:
Get:1 http://security.ubuntu.com xenial-security InRelease [94.5 kB]
Get:2 http://in.archive.ubuntu.com xenial InRelease [247 kB]
Get:3 http://security.ubuntu.com xenial-security/main amd64 Packages [143 kB]
Get:4 http://in.archive.ubuntu.com xenial-updates InRelease [95.7 kB]
Get:5 http://in.archive.ubuntu.com xenial-backports InRelease [92.2 kB]
Get:6 http://archive.canonical.com xenial InRelease [11.5 kB]
Get:7 http://in.archive.ubuntu.com xenial/main amd64 Packages [1,201 kB]
Get:8 http://security.ubuntu.com xenial-security/restricted amd64 Packages [64 B]
Get:9 http://archive.canonical.com xenial/partner amd64 Packages [2,708 B]
Get:10 http://security.ubuntu.com xenial-security/universe amd64 Packages [41.9 kB]
Get:11 http://archive.canonical.com xenial/partner i386 Packages [3,020 B]
Get:12 http://archive.canonical.com xenial/partner Translation-en [1,424 B]
Get:13 http://security.ubuntu.com xenial-security/multiverse amd64 Packages [1,176 B]
Get:14 http://security.ubuntu.com xenial-security/main i386 Packages [139 kB]
Get:15 http://in.archive.ubuntu.com xenial/restricted amd64 Packages [8,344 B]
Get:16 http://in.archive.ubuntu.com xenial/universe amd64 Packages [7,532 kB]
Get:17 http://security.ubuntu.com xenial-security/restricted i386 Packages [64 B]
Get:18 http://security.ubuntu.com xenial-security/universe i386 Packages [41.9 kB]
Get:19 http://security.ubuntu.com xenial-security/multiverse i386 Packages [1,340 B]
Get:20 http://security.ubuntu.com xenial-security/main Translation-en [59.0 kB]
Get:21 http://security.ubuntu.com xenial-security/multiverse Translation-en [628 B]
Get:22 http://security.ubuntu.com xenial-security/restricted Translation-en [64 B]
Get:23 http://security.ubuntu.com xenial-security/universe Translation-en [25.7 kB]
Get:24 http://in.archive.ubuntu.com xenial/multiverse amd64 Packages [144 kB]
Get:25 http://in.archive.ubuntu.com xenial/main i386 Packages [1,196 kB]
Get:26 http://in.archive.ubuntu.com xenial/restricted i386 Packages [8,684 B]
Get:27 http://in.archive.ubuntu.com xenial/universe i386 Packages [7,512 kB]
Get:28 http://in.archive.ubuntu.com xenial/multiverse i386 Packages [140 kB]
Get:29 http://in.archive.ubuntu.com xenial/main Translation-en [568 kB]
Get:30 http://in.archive.ubuntu.com xenial/multiverse Translation-en [106 kB]
Get:31 http://in.archive.ubuntu.com xenial/restricted Translation-en [2,908 B]
Get:32 http://in.archive.ubuntu.com xenial/universe Translation-en [4,354 kB]
Get:33 http://in.archive.ubuntu.com xenial-updates/multiverse amd64 Packages [5,492 B]
Get:34 http://in.archive.ubuntu.com xenial-updates/multiverse i386 Packages [4,280 B]
Get:35 http://in.archive.ubuntu.com xenial-updates/multiverse Translation-en [2,428 B]
Get:36 http://in.archive.ubuntu.com xenial-backports/main amd64 Packages [1,540 B]
Get:37 http://in.archive.ubuntu.com xenial-backports/restricted amd64 Packages [64 B]
Get:38 http://in.archive.ubuntu.com xenial-backports/universe amd64 Packages [1,000 B]
Get:39 http://in.archive.ubuntu.com xenial-backports/multiverse amd64 Packages [64 B]
Get:40 http://in.archive.ubuntu.com xenial-backports/main i386 Packages [1,544 B]
Get:41 http://in.archive.ubuntu.com xenial-backports/restricted i386 Packages [64 B]
Get:42 http://in.archive.ubuntu.com xenial-backports/universe i386 Packages [1,000 B]
Get:43 http://in.archive.ubuntu.com xenial-backports/multiverse i386 Packages [64 B]
Get:44 http://in.archive.ubuntu.com xenial-backports/main Translation-en [1,484 B]
Get:45 http://in.archive.ubuntu.com xenial-backports/multiverse Translation-en [64 B]
Get:46 http://in.archive.ubuntu.com xenial-backports/restricted Translation-en [64 B]
Get:47 http://in.archive.ubuntu.com xenial-backports/universe Translation-en [584 B]
Fetched 23.8 MB in 3min 18s (120 kB/s)
Reading package lists... Done
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin'
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'compiz-core'
W: Unknown Multi-Arch type 'no' for package 'compiz-gnome'
W: Unknown Multi-Arch type 'no' for package 'libxapian-dev'
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Unknown Multi-Arch type 'no' for package 'kwin-dev'
W: Unknown Multi-Arch type 'no' for package 'kwin-wayland'
W: Unknown Multi-Arch type 'no' for package 'kwin-x11'
W: Unknown Multi-Arch type 'no' for package 'libkf5sysguard-dev'
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ xenial/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ xenial/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Revision history for this message
Singh (sameerp011) said :
#5

Hi Mark, I have used use command here, please take a look below,

sonu@sonu-LIFEBOOK-A544:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 14.04.3 LTS _Trusty Tahr_ - Beta amd64 (20150805)]/ trusty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
     6 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 ##deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    11 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    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://in.archive.ubuntu.com/ubuntu/ xenial universe
    17 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial universe
    18 ##deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
    19 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe
    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://in.archive.ubuntu.com/ubuntu/ xenial multiverse
    27 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial multiverse
    28 deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    29 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    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://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    37 # deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
    40 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    41 deb http://security.ubuntu.com/ubuntu xenial-security universe
    42 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    43 deb http://security.ubuntu.com/ubuntu xenial-security multiverse
    44 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    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://archive.canonical.com/ubuntu xenial partner
    51 # deb-src http://archive.canonical.com/ubuntu xenial partner
    52

/etc/apt/sources.list.d/speed-dreams-ppa-trusty.list

     1 # deb http://ppa.launchpad.net/speed-dreams/ppa/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/speed-dreams/ppa/ubuntu trusty main
     3 # deb-src http://ppa.launchpad.net/speed-dreams/ppa/ubuntu trusty main

/etc/apt/sources.list.d/mc3man-trusty-media-trusty.list

     1 # deb http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/mc3man/trusty-media/ubuntu trusty main

/etc/apt/sources.list.d/canonical_partner.list

     1 # deb http://archive.canonical.com/ubuntu/ xenial partner
     2 deb http://archive.canonical.com/ubuntu/ xenial partner

/etc/apt/sources.list.d/clipgrab-team-ppa-trusty.list

     1 # deb http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu xenial main # disabled on upgrade to xenial
     2 # deb-src http://ppa.launchpad.net/clipgrab-team/ppa/ubuntu trusty main
sonu@sonu-LIFEBOOK-A544:~$

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

You have the configuration line

deb http://archive.canonical.com/ubuntu/ xenial partner

in 2 different configuration files.

Run this Terminal command to delete the duplicate configuration line:

sudo rm /etc/apt/sources.list.d/canonical_partner.list

And concerning the following bug:

"W: Unknown Multi-Arch type 'no' for package"

please read the following bugreport:

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1404783

It may be a good idea to perform a clean install of Ubuntu 16.04.1 after performing a backup of all your personal data, because I suspect that your upgrade from Ubuntu 14.04 to Ubuntu 16.04 did not go that well.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

Furthermore, I suspect that you may be running an outdated version of apt (package manager program).

What is the output of this command?

apt-cache policy apt

It should show version 1.2.12~ubuntu16.04.1 as the installed version.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#8

And please send us the output of the following commands:

sudo apt-get -f install libc6

sudo apt-get install --only-upgrade apt

Source: http://askubuntu.com/questions/760071/errors-upgrading-from-14-04-to-16-04-about-unknown-multi-arch-type-for-compiz-l

Revision history for this message
Singh (sameerp011) said :
#9

Hi Mark,

sonu@sonu-LIFEBOOK-A544:~$ apt-cache policy apt
apt:
  Installed: 1.0.1ubuntu2.14
  Candidate: 1.2.10ubuntu1
  Version table:
     1.2.10ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
 *** 1.0.1ubuntu2.14 0
        100 /var/lib/dpkg/status

Revision history for this message
Singh (sameerp011) said :
#10

Hi Mark,

Yeah you are right i tried to upgrade from 14.04 to 16.04. i have so much important data in my laptop so for now i can't install 14.04. Please let me know the alternate way where in i can perform this.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#11

See post #8. Still waiting for output.....

Your remarks in post #10 should have been in the original problem description. It would have helped...

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#12

And I would also like to see the output of this command:

cat /etc/lsb-release

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#13

By the way: if your data is so important, you have made a backup of that data, right?

Revision history for this message
Singh (sameerp011) said :
#14

Hi Mark,

My system get crashed after using sudo apt-get install --only-upgrade apt command. I am not able to boot my grub has been failed. i tried to boot by ubuntu live USB drive. i m trying to repair my grub but its showing error : "GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again." Please help me what to do? I used only ubuntu.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#15
Revision history for this message
Singh (sameerp011) said :
#16

Hi Mark,

I checked all suggestions but none is working for me because they are taking about dual boot system issues and 32 bit. I used only ubuntu and i have single boot 64 bit system. I thing i will have to install ubuntu again that is the only way i have. I just want to save my /home data which is really important. can you please help me how can i save my data. I don't have any external hard drive to store that data. I read about clonezilla but to implement this i need external hard drive which i don't have. if you have any other way to save my data please let me know. I am eagerly waiting for your response.

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

If you cannot boot the Ubuntu system on your hard disk, then you have to use a live system from an installation kit to access your data.

You have to create DVD or a bootable USB stick with the Ubuntu installation kit, as described on http://www.ubuntu.com/download/desktop (below the heading "Easy ways to switch to Ubuntu")

And then you have to boot from this medium and select "Try Ubuntu without installing".
This should then allow accessing all data on the hard disk partitions.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#18

Any decent LiveCD / LiveUSB distro should be able to copy your personal data to an external storage medium (like a USB stick), if your data is not encrypted on the harddisk or SSD.

Trying booting Ubuntu 16.04.1 via a LiveUSB session.

Then mount the /home directory and copy the data to a second USB stick. I hope you can copy your personal files from the /home directory to your second USB stick. Do you have a second USB stick?

Alternatively, you can try booting from Puppy Linux and try to copy the /home directory files to another USB Stick using a LiveUSB session in Puppy Linux:

http://puppylinux.org/main/Download%20Latest%20Release.htm

However, it is more complicated if your personal data is encrypted. That is why it is much better to make regular backups, if your data is important.

Here is an old procedure for recovering data from an encrypted home directory:

http://www.cyberciti.biz/faq/ubuntu-mounting-your-encrypted-home-from-livecd/

If someone knows a newer procedure, please let us know.

I never had to recover data myself, so my knowledge is rusty in this case.....

Revision history for this message
Singh (sameerp011) said :
#19

Hi Mark,

I backed up my data by external hard drive. here is big issue with ubuntu 16.04. ubuntu 16.04 is not installing at all i tried almost 20 - 25 times it says boot loader failed or installation crashed then again i installed ubuntu 14.04 in my laptop but later after installing ubuntu 14.04 my touchpad is not working the i installed xlist package afterwards touchpad working but two finger scroll and one tap click is not working, videos on browser not running and when i fire : sudo apt-get update then see the output below.

sonu@sonu-LIFEBOOK-A544:~$ sudo apt-get update
[sudo] password for sonu:
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:2 http://security.ubuntu.com trusty-security/main Sources [120 kB]
Ign http://in.archive.ubuntu.com trusty InRelease
Get:3 http://in.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,064 B]
Get:5 http://security.ubuntu.com trusty-security/universe Sources [43.6 kB]
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [3,190 B]
Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [531 kB]
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Get:8 http://extras.ubuntu.com trusty Release.gpg [72 B]
Get:9 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:10 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Get:11 http://security.ubuntu.com trusty-security/universe amd64 Packages [138 kB]
Get:12 http://extras.ubuntu.com trusty Release [11.9 kB]
Get:13 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [5,198 B]
Get:15 http://security.ubuntu.com trusty-security/main i386 Packages [493 kB]
Get:16 http://archive.ubuntu.com trusty-updates/main amd64 Packages [901 kB]
Get:17 http://in.archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:18 http://in.archive.ubuntu.com trusty Release.gpg [933 B]
Get:19 http://in.archive.ubuntu.com trusty-updates/main Sources [383 kB]
Get:20 http://extras.ubuntu.com trusty/main Sources [14 B]
Get:21 http://extras.ubuntu.com trusty/main amd64 Packages [14 B]
Get:22 http://extras.ubuntu.com trusty/main i386 Packages [14 B]
Ign http://extras.ubuntu.com trusty/main Translation-en_IN
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:23 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Get:24 http://security.ubuntu.com trusty-security/universe i386 Packages [138 kB]
Get:25 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,339 B]
Get:26 http://security.ubuntu.com trusty-security/main Translation-en [292 kB]
Get:27 http://in.archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:28 http://in.archive.ubuntu.com trusty-updates/universe Sources [166 kB]
Get:29 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:30 http://archive.ubuntu.com trusty-updates/main i386 Packages [861 kB]
Get:31 http://security.ubuntu.com trusty-security/multiverse Translation-en [2,848 B]
Get:32 http://security.ubuntu.com trusty-security/restricted Translation-en [3,206 B]
Get:33 http://security.ubuntu.com trusty-security/universe Translation-en [82.7 kB]
Get:34 http://in.archive.ubuntu.com trusty-updates/multiverse Sources [7,520 B]
Get:35 http://in.archive.ubuntu.com trusty-updates/main amd64 Packages [901 kB]
Get:36 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:37 http://in.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:38 http://archive.ubuntu.com trusty-updates/main Translation-en [437 kB]
Get:39 http://in.archive.ubuntu.com trusty-updates/universe amd64 Packages [376 kB]
Get:40 http://in.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Get:41 http://in.archive.ubuntu.com trusty-updates/main i386 Packages [861 kB]
Get:42 http://archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
Get:43 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:44 http://archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
Get:45 http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Get:46 http://in.archive.ubuntu.com trusty-updates/universe i386 Packages [377 kB]
Get:47 http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.5 kB]
Get:48 http://in.archive.ubuntu.com trusty-updates/main Translation-en [437 kB]
Get:49 http://archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:50 http://archive.ubuntu.com trusty/main i386 Packages [1,348 kB]
Get:51 http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en [7,931 B]
Get:52 http://in.archive.ubuntu.com trusty-updates/restricted Translation-en [3,699 B]
Get:53 http://in.archive.ubuntu.com trusty-updates/universe Translation-en [199 kB]
Get:54 http://in.archive.ubuntu.com trusty-backports/main Sources [9,626 B]
Get:55 http://in.archive.ubuntu.com trusty-backports/restricted Sources [28 B]
Get:56 http://in.archive.ubuntu.com trusty-backports/universe Sources [35.2 kB]
Get:57 http://in.archive.ubuntu.com trusty-backports/multiverse Sources [1,898 B]
Get:58 http://in.archive.ubuntu.com trusty-backports/main amd64 Packages [13.3 kB]
Get:59 http://in.archive.ubuntu.com trusty-backports/restricted amd64 Packages [28 B]
Get:60 http://in.archive.ubuntu.com trusty-backports/universe amd64 Packages [43.2 kB]
Get:61 http://in.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1,571 B]
Get:62 http://archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:63 http://in.archive.ubuntu.com trusty-backports/main i386 Packages [13.3 kB]
Get:64 http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages [28 B]
Get:65 http://archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:66 http://in.archive.ubuntu.com trusty-backports/universe i386 Packages [43.2 kB]
Get:67 http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages [1,552 B]
Get:68 http://in.archive.ubuntu.com trusty-backports/main Translation-en [7,493 B]
Get:69 http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en [1,215 B]
Get:70 http://in.archive.ubuntu.com trusty-backports/restricted Translation-en [28 B]
Get:71 http://in.archive.ubuntu.com trusty-backports/universe Translation-en [36.8 kB]
Get:72 http://in.archive.ubuntu.com trusty Release [58.5 kB]
Get:73 http://in.archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:74 http://archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Ign http://archive.ubuntu.com trusty/main Translation-en_IN
Ign http://archive.ubuntu.com trusty/restricted Translation-en_IN
Get:75 http://in.archive.ubuntu.com trusty/restricted Sources [5,433 B]
Get:76 http://in.archive.ubuntu.com trusty/universe Sources [6,399 kB]
Get:77 http://in.archive.ubuntu.com trusty/multiverse Sources [174 kB]
Get:78 http://in.archive.ubuntu.com trusty/main amd64 Packages [1,350 kB]
Get:79 http://in.archive.ubuntu.com trusty/restricted amd64 Packages [13.0 kB]
Get:80 http://in.archive.ubuntu.com trusty/universe amd64 Packages [5,859 kB]
Get:81 http://in.archive.ubuntu.com trusty/multiverse amd64 Packages [132 kB]
Get:82 http://in.archive.ubuntu.com trusty/main i386 Packages [1,348 kB]
Get:83 http://in.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:84 http://in.archive.ubuntu.com trusty/universe i386 Packages [5,866 kB]
Get:85 http://in.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB]
Get:86 http://in.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:87 http://in.archive.ubuntu.com trusty/multiverse Translation-en [102 kB]
Get:88 http://in.archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Get:89 http://in.archive.ubuntu.com trusty/universe Translation-en [4,089 kB]
Ign http://in.archive.ubuntu.com trusty/main Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Fetched 39.3 MB in 5min 34s (118 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ trusty-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

Please tell me the permanent solution.

Revision history for this message
Singh (sameerp011) said :
#20

Hi Mark,

Help me...!!!

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#21

You have duplicate entries in one or more of your .list configuration files.

What is the output of this command?

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

Revision history for this message
Singh (sameerp011) said :
#22

Hi Mark,

I was getting frustrate so again i formatted and installed ubuntu 14.04 now its working fine but i thing so much of formatting my hard disk got some bad sector which i need to repair. I have problem my edge scroll is not working i off the two finger option but still edge scrolling is not working please help me to solve this and how can i repair hard drive bad sectors please let me know.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#23

A simple Google search gave me the following result:

https://itsfoss.com/enable-edge-scrolling-ubuntu-1310-quick-tip/

Revision history for this message
Singh (sameerp011) said :
#24

Hi Mark,

this is not working at all. My laptop is fujitsu lifebook a544 i3 5th generation 4gb ram made in german. please help me i tried all solution listed on goggle but could not get the edge scrolling.

Can you help with this problem?

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

To post a message you must log in.