edit source list /etc/apt/sources.list
uriah heep
stan10x10 at gmail.com
Thu Dec 4 02:45:38 UTC 2008
On Wed, Dec 3, 2008 at 1:30 AM, Jerry Lapham <rjlapham at cinci.rr.com> wrote:
> On Tuesday 02 December 2008 11:31:10 pm uriah heep wrote:
>
> > E: Type 'wget' is not known on line 37 in source list
> /etc/apt/sources.list
> > E: The list of sources could not be read.
> > Go to the repository dialog to correct the problem.
> > E: _cache->open() failed, please report.
> >
> > From the little I know it seems I need to delete the error line but i do
> > not know how to edit the file.
>
> If you're using Dolphin in KDE 3.5.10 go to /etc/apt/ and right click on
> sources.list. Select Actions > Edit as root. Type in your password and
> KWrite should open allowing you to edit and save sources.list.
>
> If not, you could open Konsole, cd to /etc/apt and type
>
> kdesudo kate source.list
>
> or
>
> kdesudo kwrite source.list
>
> input your password, edit, and save.
>
> -Jerry
> --
> =============================================
> Jerry Lapham
> Monroe, OH 45050
> rjlapham at cinci.rr.com
> =============================================
> Does fuzzy logic tickle?
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
My appology I see I did not give you adequate information. I am running
8.10 64 bit and using kde 4.1. I used the directions for dolphin hoping
they would be simular, I right clicked and did not get the option to edit as
root. I then entered konsole and below you see what happened.
uriah at Trimurti:~$ kdesudo kwrite source.list
uriah at Trimurti:~$ kdesudo kate source.list
kate(6697): createDoc
kate(6697) KateSessionManager::KateSessionManager: LOCAL SESSION DIR:
"/root/.kde/share/apps/kate/sessions"
kate(6697) KateApp::initKate: Setting KATE_PID: ' 6697
'
kate(6697) KateViewDocumentProxyModel::updateBackgrounds:
false
kate(6697) KateMainWindow::KateMainWindow:
****************************************************************************
0x1b18320
kate(6697) KateViewDocumentProxyModel::updateBackgrounds: false
kate(6697) KateViewDocumentProxyModel::updateBackgrounds: false
kate(6697) KateDocManager::slotDocumentNameChanged: docname changed:
"Untitled" -----> "Untitled"
kate(6697) KateDocManager::slotDocumentNameChanged: docname changed:
"Untitled" -----> "source.list"
kate(6697) KToolInvocation::klauncher: klauncher not running... launching
kdeinit
kdeinit4: preparing to launch /usr/lib/kde4/libexec/klauncher
kdeinit4: preparing to launch /usr/bin/kded4
kdeinit4: preparing to launch /usr/bin/kbuildsycoca4
kbuildsycoca4 running...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/kconf_update
kdeinit4: preparing to launch
kdeinit4: preparing to launch /usr/bin/knotify4
kate(6697): Couldn't start knotify from knotify4.desktop: "KDEInit could
not launch '/usr/bin/knotify4'."
kate(6697) KateViewDocumentProxyModel::updateBackgrounds: true
kate(6697) KateViewDocumentProxyModel::updateBackgrounds: false
kate(6697) KateApp::startupKate: KateApplication::init finished successful
kate(6697) KateViewDocumentProxyModel::updateBackgrounds: true
QObject: Do not delete object, 'file', during its event handler!
QThreadStorage: Thread 0x180d860 exited after QThreadStorage 2147483643
destroyed
uriah at Trimurti:~$ sudo
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
uriah at Trimurti:~$ cd to /etc/apt
bash: cd: to: No such file or directory
uriah at Trimurti:~$
and then
uriah at Trimurti:~$ cd etc/apt
bash: cd: etc/apt: No such file or directory
uriah at Trimurti:~$ cd /etc/apt
uriah at Trimurti:/etc/apt$ kdesudo kate source.list
kate(7058): createDoc
kate(7058) KateSessionManager::KateSessionManager: LOCAL SESSION DIR:
"/root/.kde/share/apps/kate/sessions"
kate(7058) KateApp::initKate: Setting KATE_PID: ' 7058 '
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: false
kate(7058) KateMainWindow::KateMainWindow:
****************************************************************************
0x1f3e820
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: false
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: false
kate(7058) KateDocManager::slotDocumentNameChanged: docname changed:
"Untitled" -----> "Untitled"
kate(7058) KateDocManager::slotDocumentNameChanged: docname changed:
"Untitled" -----> "source.list"
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: true
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: false
kate(7058) KateApp::startupKate: KateApplication::init finished successful
kate(7058) KateViewDocumentProxyModel::updateBackgrounds: true
QThreadStorage: Thread 0x1d69860 exited after QThreadStorage 2147483643
destroyed
uriah at Trimurti:/etc/apt$
and
uriah at Trimurti:/etc/apt$ kdesudo kwrite source.list
uriah at Trimurti:/etc/apt$ kdesudo kwrite source.list
uriah at Trimurti:/etc/apt$
and the result is command not found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20081203/e24d1cf7/attachment.html>
More information about the kubuntu-users
mailing list