Results 1 to 5 of 5

Thread: OwnCloud in Ubuntu 14.04

  1. #1
    Join Date
    Feb 2010
    Beans
    8

    OwnCloud in Ubuntu 14.04

    Hi,

    I am trying to install the Owncloud client version in my laptop (running a Ubuntu 14.04 64 bit distro) in order to use an Owncloud account in an external server. I follow the instructions in the Owncloud documentation. I have tried both ways the normal way running
    Code:
    sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud-client.list"
    sudo apt-get update
    sudo apt-get install owncloud-client
    and the optional way downloading the apt-key for the Ubuntu repository:
    Code:
    wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/xUbuntu_14.04/Release.key sudo apt-key add - < Release.key
    But I get the same error in the terminal:
    Code:
    W: Duplicate sources.list entry http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/  Packages (/var/lib/apt/lists/download.opensuse.org_repositories_isv:_ownCloud:_desktop_xUbuntu%5f14.04_Packages)
    W: Duplicate sources.list entry http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/  Packages (/var/lib/apt/lists/download.opensuse.org_repositories_isv:_ownCloud:_desktop_xUbuntu%5f14.04_Packages)
    W: Tal vez quiera ejecutar «apt-get update» para corregir estos problemas
    If I run again
    sudo apt-get update
    I get the same message at the terminal

    How could I solve this error about the duplicate sources list?

    Thanks in advance, I appreciate any help to solve it.

    Kandoni

  2. #2
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: OwnCloud in Ubuntu 14.04

    Post the contents of the /etc/apt/sources.list.d/owncloud-client.list here.

    Since you ran the echo command more than once with the >> operator, the lines will be appended and you'll have a duplicate entry.

  3. #3
    Join Date
    Feb 2010
    Beans
    8

    Re: OwnCloud in Ubuntu 14.04

    Quote Originally Posted by nerdtron View Post
    Post the contents of the /etc/apt/sources.list.d/owncloud-client.list here.

    Since you ran the echo command more than once with the >> operator, the lines will be appended and you'll have a duplicate entry.
    The owncloud-client.list file content is:
    Code:
    deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /
    deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /
    deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /
    And there is another file in the same folder named owncloud-client.list.save with this content:
    Code:
    deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /
    # deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/xUbuntu_14.04/ /

  4. #4
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: OwnCloud in Ubuntu 14.04

    You have duplicate entries on your owncloud-client.list. Just edit the file directly and leave only the first line.

    owncloud-client.list.save is probably a temp file for your editing program.

  5. #5
    Join Date
    Feb 2010
    Beans
    8

    Re: OwnCloud in Ubuntu 14.04

    Quote Originally Posted by nerdtron View Post
    You have duplicate entries on your owncloud-client.list. Just edit the file directly and leave only the first line.

    owncloud-client.list.save is probably a temp file for your editing program.
    That worked!!

    Thanks a lot nerdtron!!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •