configure switch
Posts: 324
So I got a CISCO switch (1548M) and today I took it into school and
minicom'. First it complained about unmet dependencies and told me to run
'apt-get -f install'. I did that and it is now complaining that the server
'failed to open [the] file'. Further; it is a wonder that serial ports are
also ttyS?. I thought that was reserved for cards.
Did you
Posts: 1296
first type apt-get update before trying all this?
Your error looks like it is saying it can't find the file so that usually means you haven't done an apt-get update.
You're right!
Posts: 324
I was co-relating it with apt-get dist-upgrade.
:-)~MIKE~(-:
No-go
Posts: 324
I did as you suggested and it did download some stuff yet it couldn't find a certain file (libxvl) which I attempted to download seperately (which is how I discovered that dpkg couldn't find the file).
Then I put the '-f' in the wrong place and it started to complain about broken pipes.
Anyu ideas?
:-)~MIKE~(-:
(broken pipes are at the end of
bmike1@0[bmike1]$ sudo apt-get install minicom Reading Package Lists... Done Building Dependency Tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: libwine: Depends: libxv1 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). bmike1@0[bmike1]$ sudo apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: libwine libxv1 wine Suggested packages: wine-doc libicu21c102 wine-utils msttcorefonts winesetup binfmt-support The following NEW packages will be installed: libxv1 The following packages will be upgraded libwine wine 2 upgraded, 1 newly installed, 0 to remove and 936 not upgraded. 2 not fully installed or removed. Need to get 8453kB of archives. After unpacking 188kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 ftp://ftp.us.debian.org unstable/main wine 0.0.20040505-2 [1101kB] Get:2 ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-4 [142kB] Get:3 ftp://ftp.us.debian.org unstable/main libwine 0.0.20040505-2 [7210kB] 46% [3 libwine 2682020/7210kB 37%] 6083B/s 12m24sASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993) ASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993) 47% [3 libwine 2747720/7210kB 38%] 6289B/s 11m49sMutex destroy failure: Device or resource busy Fetched 8453kB in 28m19s (4975B/s) Preconfiguring packages ... (Reading database ... 106663 files and directories currently installed.) Preparing to replace wine 0.0.20040505-1 (using .../wine_0.0.20040505-2_i386.deb) ... Unpacking replacement wine ... Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-4_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb (--unpack): trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs dpkg-deb: subprocess paste killed by signal (Broken pipe) Preparing to replace libwine 0.0.20040505-1 (using .../libwine_0.0.20040505-2_i386.deb) ... Unpacking replacement libwine ... Errors were encountered while processing: /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) bmike1@0[bmike1]$ sudo apt-get install libxvl Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package libxvl bmike1@0[bmike1]$ sudo apt-get install -f Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: libxv1 The following NEW packages will be installed: libxv1 0 upgraded, 1 newly installed, 0 to remove and 936 not upgraded. 2 not fully installed or removed. Need to get 0B/142kB of archives. After unpacking 303kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 106661 files and directories currently installed.) Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-4_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb (--unpack): trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) bmike1@0[bmike1]$
Did you try
Posts: 1296
just typing after this
dpkg -i --force-overwriting ? If not putting package name gives errors try it with the package name.
no such file or directory
Posts: 324
was the response when I tried both 'dpkg -i --force-overwrite libxvl/minicom'.
:-)~MIKE~(-:
bmike1@0[bmike1]$ sudo dpkg -i --force-overwrite libxvl dpkg: error processing libxvl (--install): cannot access archive: No such file or directory Errors were encountered while processing: libxvl bmike1@0[bmike1]$ sudo dpkg -i --force-overwrite minicom dpkg: error processing minicom (--install): cannot access archive: No such file or directory Errors were encountered while processing: minicom bmike1@0[bmike1]$
so, nobody told me....
Posts: 324
What can I use in place of minicom to look at serial port devices?
:-)~MIKE~(-:
Here is what I am getting:
Posts: 324